-
Notifications
You must be signed in to change notification settings - Fork 157
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
Include changes from xcvr_api in transceiver_info table #253
Merged
prgeor
merged 3 commits into
sonic-net:master
from
qinchuanares:dev/qinchuan/update-statedb-transceiver-info-table
Apr 25, 2022
Merged
Include changes from xcvr_api in transceiver_info table #253
prgeor
merged 3 commits into
sonic-net:master
from
qinchuanares:dev/qinchuan/update-statedb-transceiver-info-table
Apr 25, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@aravindmani-1 @keboliu please review |
@andywongarista please review |
aravindmani-1
previously approved these changes
Apr 8, 2022
andywongarista
previously approved these changes
Apr 8, 2022
prgeor
reviewed
Apr 11, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@qinchuanares I don't see ZR specific info in the table? Am i m missing something?
supported_max_tx_power = FLOAT ; support maximum tx power
supported_min_tx_power = FLOAT ; support minimum tx power
supported_max_laser_freq = FLOAT ; support maximum laser frequency
supported_min_laser_freq = FLOAT ; support minimum laser frequency
prgeor
reviewed
Apr 11, 2022
Good catch. I fixed it in the next commit. |
…h non-cmis and cmis compliant modules
qinchuanares
dismissed stale reviews from andywongarista and aravindmani-1
via
April 12, 2022 05:01
b212c15
prgeor
approved these changes
Apr 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR intends to include the recent changes made in the following two PRs from sonic-platform-common into transceiver_info table in state_db in xcvrd.py file.
sonic-net/sonic-platform-common#228
sonic-net/sonic-platform-common#235
Description
The update transceiver info can be referenced to the HLD here.
Motivation and Context
The old xcvrd was using sonic-platform-common that does not support CMIS and C-CMIS memory mapping. After we introduce the support for CMIS and C-CMIS memory map in xcvr_api in sonic-platform-common, we want to adopt the changes in xcvrd by starting with updating the transceiver_info table. After update, the new keys in this table include:
How Has This Been Tested?
Example of tests in sonic-arista 7060 box. Note: to protect 400ZR vendor-specific information, I removed vendor-related information.
Additional Information (Optional)