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

Add is_copper definition to cmis api #500

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bobbymcgonigle
Copy link

@bobbymcgonigle bobbymcgonigle commented Sep 20, 2024

Description

For CMIS it's pretty easy to 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?

Manually tested a lot of copper and optical modules ensuring they return the correct type.

@bobbymcgonigle bobbymcgonigle marked this pull request as draft October 22, 2024 18:28
@mssonicbld
Copy link
Collaborator

/azp run

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.

4 participants