Skip to content

[sfputil][sfpshow] Use unified format to show CMIS EEPROM#4333

Open
Junchao-Mellanox wants to merge 1 commit intosonic-net:masterfrom
Junchao-Mellanox:master-fix-show-eeprom
Open

[sfputil][sfpshow] Use unified format to show CMIS EEPROM#4333
Junchao-Mellanox wants to merge 1 commit intosonic-net:masterfrom
Junchao-Mellanox:master-fix-show-eeprom

Conversation

@Junchao-Mellanox
Copy link
Collaborator

What I did

Use unified format to show CMIS EEPROM. The current design checks the SFP type start with "QSFP" and "OSFP". However, there could be other CMIS module such as "CPO". This PR is to fix the issue.

How I did it

If sfp type is start from "OSFP" or the sfp is a CMIS, we will use the same output format.

How to verify it

sonic-utilities UT passed
Manual test passed

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)

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Junchao-Mellanox <junchao@nvidia.com>
@Junchao-Mellanox Junchao-Mellanox force-pushed the master-fix-show-eeprom branch from 9b39bf2 to 435d509 Compare March 6, 2026 10:14
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants