[xcvrd] Add bitmap support for SFP error event#184
Merged
jleveque merged 11 commits intosonic-net:masterfrom Jun 22, 2021
Merged
[xcvrd] Add bitmap support for SFP error event#184jleveque merged 11 commits intosonic-net:masterfrom
jleveque merged 11 commits intosonic-net:masterfrom
Conversation
4 tasks
|
This pull request introduces 1 alert when merging 5ad1246 into 807b304 - view on LGTM.com new alerts:
|
jleveque
suggested changes
May 18, 2021
…orm-daemons into sfp-bit-map
In case there is an error returned by platform API - Translate the error bitmap to error description for generic errors - Fetch the error description from sfp_error dict or via calling platform API get_error_description for vendor specific errors - Adjust unit test cases Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
Enhanced - Handle the error status returned by platform APIs
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
In order to have this PR passed CI, we need to merge sonic-net/sonic-platform-common#194 and then advance the submodule head for it. It references some definitions like |
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
Submodule head of sonic-platform-common is advanced in sonic-net/sonic-buildimage#7868 |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
@jleveque Can you trigger the test rerun as the dependent PR has been merged. Thanks |
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
jleveque
approved these changes
Jun 21, 2021
|
This pull request introduces 1 alert when merging f7b5949 into 2fc05b2 - view on LGTM.com new alerts:
|
4 tasks
andywongarista
pushed a commit
to andywongarista/sonic-platform-daemons
that referenced
this pull request
Jun 30, 2021
Support SFP error bitmap. Currently, SONiC use a single value to represent SFP error, however, multiple SFP errors could exist at the same time. This PR is aimed to support it Signed-off-by: Stephen Sun <[email protected]>
vdahiya12
pushed a commit
to vdahiya12/sonic-platform-daemons
that referenced
this pull request
Apr 4, 2022
…ties (sonic-net#184) Added a `get_revision()` method to the generic platform device class which returns the hardware revision number of the device as a string.
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.
Description
Support SFP error bitmap.
Motivation and Context
Currently, SONiC use a single value to represent SFP error, however, multiple SFP errors could exist at the same time. This PR is aimed to support it
How Has This Been Tested?
Additional Information (Optional)