-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[build] - Create system eeprom file #5164
Conversation
* Create the system eeprom JSON file that is used in the sonic-mgmt-framework KLISH CLI. Signed-off-by: Garrick He <garrick_he@dell.com>
Is it possible for the sonic-mgmt-framework to read the system EEPROM data from State DB instead of this file? |
@jleveque It is possible, but this PR is to get the command to work WRT the current state of sonic-mgmt-framework. A set of PRs can be raised against sonic-mgmt-framework and this repo to change over to write/read the system EEPROM data to/from STATE_DB in the next phase/release. |
Retest mellanox please |
This PR feels like it is creating a redundant data file. Also, I don't see where this |
TL;DR: It turns out this PR is needed exclusively for the The reason this PR was initially raised was because of this error seen against the
This is because the Later on, in Do you want us to open a new PR directly against the |
@jeff-yin: Thanks for the detailed explanation. Unfortunately, GitHub doesn't offer a way to retarget a PR to a different branch. Please close this PR and open a new PR against the |
Closing this PR and opening a new one to a different branch. |
KLISH CLI.
Signed-off-by: Garrick He garrick_he@dell.com
- Why I did it
When you enter the sonic-mgmt-framework CLI with the command:
sonic-cli
and execute:
show platform syseeprom
You will get an error. This is due to the missing syseeprom.json.
- How I did it
Add the command to create the syseeprom.json file if the pmon container is present.
- How to verify it
Created the missing file using the command-line in this diff and verified the system eeprom information appears instead of a error message.