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 speed media key for non CMIS cable #40

Closed
wants to merge 1 commit into from

Conversation

Junchao-Mellanox
Copy link
Owner

@Junchao-Mellanox Junchao-Mellanox commented Jul 4, 2024

Description

There is a function get_media_settings_key in media_settings_parser.py which is used to extract media setting keys for a given module. The key contains 3 parts: vendor key, media key, speed lane key.

  1. Currently, speed lane key for non CMIS module is always None. For a given module, it could apply different media setting values when it is working on different speed. So, we need to add speed lane key for non CMIS module.

  2. Currently, media key for non CMIS module does not consider the "Extended Specification Compliance". So, the media key could be something like "QSFP+-Extended-255M" or "QSFP+-Unknown-255M", this media key is not good enough. This PR also extends the media key.

Motivation and Context

Add media key and speed key for non CMIS cable.

How Has This Been Tested?

unit test

Additional Information (Optional)

@Junchao-Mellanox Junchao-Mellanox changed the base branch from master to 201803 July 4, 2024 07:26
@Junchao-Mellanox Junchao-Mellanox changed the base branch from 201803 to master July 4, 2024 07:26
@Junchao-Mellanox
Copy link
Owner Author

ci 4212 passed

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