-
Notifications
You must be signed in to change notification settings - Fork 684
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
Display target firmware version through CLI #3274
Display target firmware version through CLI #3274
Conversation
Signed-off-by: Mihir Patel <patelmi@microsoft.com>
@mihirpat1 can you also paste the output for cables that does not support remote target |
@prgeor I have added the output now. |
@StormLiangMS @yxieca Can you please help in merging this to 202305 and 202311? |
@mihirpat1 this seems to be an enhancement? Is it fixing any outstanding known issue? |
@yxieca Will follow-up on Teams. |
@yxieca This is needed to dump the the FW version of the remote sides for cables support FW upgrade on target from local side. |
Signed-off-by: Mihir Patel <patelmi@microsoft.com>
Cherry-pick PR to 202311: #3298 |
Signed-off-by: Mihir Patel <patelmi@microsoft.com>
Signed-off-by: Mihir Patel <patelmi@microsoft.com>
Cherry-pick PR to 202305: #3307 |
Signed-off-by: Mihir Patel <patelmi@microsoft.com>
Signed-off-by: Mihir Patel <patelmi@microsoft.com>
What I did
XCVRD is now periodically storing target firmware versions in TRANSCEIVR_FIRMWARE_INFO table of STATE_DB (sonic-net/sonic-platform-common#455).
This change is to display the target firmware versions using
show interfaces transceiver eeprom EthernetXX
andshow interfaces transceiver info EthernetXX
CLI.MSFT ADO - 27706023
How I did it
The transceiver EEPROM/INFO dump CLI now reads target firmware information from the TRANSCEIVR_FIRMWARE_INFO table of STATE_DB. This is done only for the transceivers which have their target firmware version information populated in the TRANSCEIVR_FIRMWARE_INFO table.
How to verify it
Please refer to the testcases described in sonic-net/sonic-platform-common#455 for further details.
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
snippet of
show interfaces transceiver info EthernetXX
CLISnippet of CLI o/p for transceiver supporting remote target (Other fields have been trimmed)
CLI o/p for transceiver not supporting remote target