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

[sfp-refactoring] Initial support for CMIS application initialization #9157

Closed
wants to merge 1 commit into from

Conversation

ds952811
Copy link
Contributor

@ds952811 ds952811 commented Nov 3, 2021

[sfp-refactoring] Quanta IX9: migrate to the new sfp-refactoring framework

Migrate the Quanta IX9 to the new sfp-refactoring framework

Signed-off-by: Dante Su dante.su@broadcom.com

Why I did it

Migrate the Quanta IX9 to the new sfp-refactoring framework

How I did it

Update the sfp.py of Quanta IX9 to use the new sfp-refactoring framework

How to verify it

  1. Bring up Quanta IX9 with the default configuration and CMIS 4.0/5.0 QSFPDD modules
  2. Issue 'sudo sfputil show eeprom --dom' to verify both the static EEPROM and DOM information
  3. Issue 'sudo sfputil show error-status -hw' to verify error states

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Repo PR title State
SONiC [sfp-refactoring] Initial support for CMIS application initialization
sonic-buildimage [sfp-refactoring] Initial support for CMIS application initialization
sonic-platform-common [sfp-refactoring] Initial support for CMIS application initialization
sonic-platform-daemon [sfp-refactoring] Initial support for CMIS application initialization
sonic-utilities [sfp-refactoring] Initial support for CMIS application initialization

A picture of a cute animal (not mandatory but encouraged)

lguohan
lguohan previously approved these changes Nov 3, 2021
@lguohan
Copy link
Collaborator

lguohan commented Nov 3, 2021

which sfp refactor framework are you referring to? is it arista one or broadcom one?

@lguohan lguohan dismissed their stale review November 3, 2021 19:21

accidentally approved

@ds952811
Copy link
Contributor Author

ds952811 commented Nov 4, 2021

which sfp refactor framework are you referring to? is it arista one or broadcom one?

It's Broadcom, but the new sfp-refactoring is still in-progress, and should be ready by this Friday

@lgtm-com
Copy link

lgtm-com bot commented Nov 5, 2021

This pull request introduces 1 alert when merging ec1fddf25298a761272f89a939d511661c9f3766 into a61ffcd - view on LGTM.com

new alerts:

  • 1 for Unused import

Returns:
A string, the port/cage type of this SFP
"""
return self.SFP_PORT_TYPE_QSFPDD

Choose a reason for hiding this comment

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

Shouldn't this (at least ideally) be based on byte 00 from the plugged in module?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the cage type of the port, not the media type fetched from the EEPROM of the attached transceiver.

Choose a reason for hiding this comment

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

ack, thanks.

@ds952811 ds952811 force-pushed the sfp-refactoring-ix9 branch 2 times, most recently from 1b033fc to 2df4e38 Compare November 19, 2021 05:51
@ds952811
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Pull request contains merge conflicts.

…ework

Migrate the Quanta IX9 to the new sfp-refactoring framework

Signed-off-by: Dante Su <dante.su@broadcom.com>
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.

4 participants