[syseepromd] Support both new platform API and old platform plugins#35
Closed
stephenxs wants to merge 4 commits intosonic-net:masterfrom
Closed
[syseepromd] Support both new platform API and old platform plugins#35stephenxs wants to merge 4 commits intosonic-net:masterfrom
stephenxs wants to merge 4 commits intosonic-net:masterfrom
Conversation
added 3 commits
July 26, 2019 16:02
…ad chassis since it's confusing. load chassis in each daemon instead.
jleveque
approved these changes
Jul 31, 2019
Contributor
jleveque
left a comment
There was a problem hiding this comment.
This is exactly what I was picturing; a simple change, as small as possible, which allows us to share as much of the existing logic as possible between the old plugins and new API.
Contributor
|
@stephenxs: Do you mind splitting the syseepromd and psud changes into separate PRs? It will make the changes more modular in case of the need to revert anything. |
Collaborator
Author
|
Contributor
|
So shall we close this PR? |
Collaborator
Author
|
sure. |
vdahiya12
pushed a commit
to vdahiya12/sonic-platform-daemons
that referenced
this pull request
Apr 4, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support new platform api with plugin mode compatible.
In this PR, new platform api is supported in following steps:
now only two APIs are called in syseepromd, update_eeprom_db and read_eeprom.
five three APIs for psud, get_num_psus, get_presence and get_powergood_status.
it depends on the sonic-platform-common #48 add get_eeprom to Chassis for syseepromd to access