Skip to content
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

Support new API sfp.dump_eeprom #404

Closed

Conversation

Junchao-Mellanox
Copy link
Contributor

@Junchao-Mellanox Junchao-Mellanox commented Oct 10, 2023

Description

Support new platform API dump EEPROM which would dump module EEPROM in hex format

Motivation and Context

HLD: sonic-net/SONiC#1476

How Has This Been Tested?

Manual test and regression test.

Additional Information (Optional)

@@ -2438,4 +2438,7 @@ def get_error_description(self):

return None

def _get_valid_eeprom_pages(self):
return (0, 1, 2, 16, 17) if not self.is_flat_memory() else (0,)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Junchao-Mellanox why only these pages?

@prgeor
Copy link
Collaborator

prgeor commented Oct 13, 2023

@Junchao-Mellanox please make use of existing CLI sfputil show eeprom-hexdump. You can get the Sfp type cmis,sff ...etc and have a hardcoded list in sfputil for the interested pages for each sfp type

@Junchao-Mellanox
Copy link
Contributor Author

Close this as it is no longer needed

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