Added VDM monitoring for transceiver diagnostics#4636
Open
nkanchi-nexthop wants to merge 3 commits into
Open
Conversation
Signed-off-by: nkanchi-nexthop <nkanchi@nexthop.ai>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Nikhil Kanchi <nkanchi@nexthop.ai>
71e8975 to
3c17f8f
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
What I did
Add VDM (Versatile Diagnostics Monitoring) support so transceiver diagnostics can display real-time optical health metrics along with thresholds and violation flags. Added features can be seen in section 4.2 here: CMIS Diagnostic Monitoring Overview in SONiC.
How I did it
sfpshow vdmto show current VDM values and thresholds.sfpshow vdm-flagto show threshold violation flags, with--detailfor change count and set/clear timestamps.show interfaces transceiver vdm.TRANSCEIVER_VDM_* STATE_DBtables.How to verify it
sfpshow vdmto display VDM values for all ports.sfpshow vdm -p Ethernet0to verify output for a specific port (Select a port that VDM data is applicable for).sfpshow vdm-flagto check threshold violation flags.sfpshow vdm-flag --detailto verify change count and set/clear timestamps.show interfaces transceiver vdm,show interfaces transceiver vdm flag, andshow interfaces transceiver vdm flag --detailto confirm the equivalent show command paths work.--detailmode.Previous command output (if the output of a command-line utility has changed)
N/ANew command output (if the output of a command-line utility has changed)