-
Notifications
You must be signed in to change notification settings - Fork 113
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
Update transceiver info DB key names #146
Conversation
HARDWARE_REVISION = b"hardware_rev" | ||
SERIAL_NUMBER = b"serial" | ||
MANUFACTURE_NAME = b"manufacturer" | ||
MODEL_NAME = b"model" |
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.
It is better to move into a common place and shared with the repo sonic-platform-common.
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.
It would prevent the need for dependent changes like this in the future. Please feel free to open an issue.
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.
Could you clarify "prevent the need for dependent changes like this in the future"? I think it will make it easier.
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.
This PR was necessary because the key names were updated in sonic-platform-common. If the two repos shared a common source for the data, this PR would not be necessary.
Update transceiver info DB key names to align with recent change here: sonic-net/sonic-platform-common#97
Update transceiver info DB key names to align with recent change here: sonic-net/sonic-platform-common#97
Update transceiver info DB key names to align with recent change here: sonic-net/sonic-platform-common#97