forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Mellanox] Add bitmap support for SFP error event #68
Closed
Commits on Apr 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 67170da - Browse repository at this point
Copy the full SHA 67170daView commit details
Commits on Apr 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 152c098 - Browse repository at this point
Copy the full SHA 152c098View commit details
Commits on May 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for db0b066 - Browse repository at this point
Copy the full SHA db0b066View commit details
Commits on Jun 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for df81073 - Browse repository at this point
Copy the full SHA df81073View commit details -
Support handling the error status of SFP modules
1. Update get_change_event - Return event in a bitmap format in case there is an error - Return an extra map indexed by sfp_error in case there is a Mellanox-specific error - Indicate whether the error is a blocking error 2. Expose the error status of SFP modules to CLI - A platform API calls SDK API to fetch the error status - Display the SFP module state: plugged, unplugged and plugged with error. - The SFP error state is displayed only if the SFP module state is plugged with error - The CLI will call platform API and provide user-friendly output 3. Redirect stderr to /dev/null in order to eliminate errors in case SFP module is not plugged 4. Beautify the code, making all the state/error/descriptions defined in a uniform place Signed-off-by: Stephen Sun <stephens@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 661507d - Browse repository at this point
Copy the full SHA 661507dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb8bfdc - Browse repository at this point
Copy the full SHA cb8bfdcView commit details -
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for d4b63df - Browse repository at this point
Copy the full SHA d4b63dfView commit details
Commits on Jun 8, 2021
-
Merge pull request #80 from stephenxs/sfp-bit-map-enhance
Support handling the error status of SFP modules
Configuration menu - View commit details
-
Copy full SHA for cb5135f - Browse repository at this point
Copy the full SHA cb5135fView commit details
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.