-
Notifications
You must be signed in to change notification settings - Fork 161
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
[xcvrd] Add bitmap support for SFP error event #184
Conversation
This pull request introduces 1 alert when merging 5ad1246 into 807b304 - view on LGTM.com new alerts:
|
…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
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Submodule head of sonic-platform-common is advanced in sonic-net/sonic-buildimage#7868 |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@jleveque Can you trigger the test rerun as the dependent PR has been merged. Thanks |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This pull request introduces 1 alert when merging f7b5949 into 2fc05b2 - view on LGTM.com new alerts:
|
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]>
…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.
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)