Skip to content

[Mellanox] [202012] Backport 'Read EEPROM data from DB if possible'(7808) to 202012 #7928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

Junchao-Mellanox
Copy link
Collaborator

Cherry-pick #7808

Why I did it

Remove EEPROM cache file and use DB instead

How I did it

  1. Read EEPROM data from DB if possible
  2. If data is not ready in DB, read from hardware using a visitor pattern

How to verify it

Manual test and regression

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@Junchao-Mellanox Junchao-Mellanox marked this pull request as draft June 21, 2021 10:24
@lgtm-com
Copy link

lgtm-com bot commented Jun 21, 2021

This pull request introduces 1 alert and fixes 4 when merging aad9d79 into d47a035 - view on LGTM.com

new alerts:

  • 1 for Except block handles 'BaseException'

fixed alerts:

  • 4 for Except block handles 'BaseException'

@Junchao-Mellanox Junchao-Mellanox marked this pull request as ready for review June 23, 2021 14:05
@liat-grozovik liat-grozovik merged commit ccb663c into sonic-net:202012 Jun 23, 2021
@Junchao-Mellanox Junchao-Mellanox deleted the cherry-pick-7808 branch June 24, 2021 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants