Skip to content

Conversation

@bobbymcgonigle
Copy link
Contributor

Description

For CMISwe can tell if a module is copper because the media interface will always be passive_copper_media_interface. This PR adds a check for that.

Motivation and Context

Similar to other SFF xcvr api's it would be helpful to know if a CMIS module is copper or optical. We can use this information for tunings and in other areas where appropriate.

How Has This Been Tested?

Wrote a unit test and tested manually on device using multiple optics and DACs

Additional Information (Optional)

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prgeor
Copy link
Collaborator

prgeor commented Mar 5, 2025

@bobbymcgonigle will review once out of draft

@bobbymcgonigle bobbymcgonigle marked this pull request as ready for review March 5, 2025 18:00
@bobbymcgonigle
Copy link
Contributor Author

@bobbymcgonigle will review once out of draft

Thanks Prince, this PR is ready for review

@prgeor prgeor merged commit 45b10be into sonic-net:master Mar 9, 2025
5 checks passed
@arista-hpandya
Copy link

Can we port this to msft-202503? Thanks!

ravil-nexthop pushed a commit to ravil-nexthop/sonic-platform-common that referenced this pull request May 21, 2025
ravil-nexthop pushed a commit to ravil-nexthop/sonic-platform-common that referenced this pull request Jul 1, 2025
prgeor pushed a commit that referenced this pull request Jul 3, 2025
(cherry picked from commit 45b10be)

Co-authored-by: Bobby McGonigle <bobbymcgonigle@arista.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.

5 participants