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

Update transceiver info DB key names #146

Merged
merged 1 commit into from
Jul 14, 2020
Merged

Update transceiver info DB key names #146

merged 1 commit into from
Jul 14, 2020

Conversation

jleveque
Copy link
Contributor

Update transceiver info DB key names to align with recent change here: sonic-net/sonic-platform-common#97

HARDWARE_REVISION = b"hardware_rev"
SERIAL_NUMBER = b"serial"
MANUFACTURE_NAME = b"manufacturer"
MODEL_NAME = b"model"
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@jleveque jleveque merged commit bdfcc13 into sonic-net:master Jul 14, 2020
@jleveque jleveque deleted the update_xcvr_keys branch July 14, 2020 18:31
@prsunny
Copy link
Contributor

prsunny commented Sep 4, 2020

@abdosi

abdosi pushed a commit that referenced this pull request Sep 4, 2020
Update transceiver info DB key names to align with recent change here: sonic-net/sonic-platform-common#97
kktheballer pushed a commit to kktheballer/sonic-snmpagent that referenced this pull request Oct 1, 2020
Update transceiver info DB key names to align with recent change here: sonic-net/sonic-platform-common#97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants