Skip to content

Fix RFC2737 implementation with updated xcvr vendor version key name#241

Merged
SuvarnaMeenakshi merged 1 commit intosonic-net:masterfrom
keboliu:rfc2737-verdor-rev-update
Feb 1, 2022
Merged

Fix RFC2737 implementation with updated xcvr vendor version key name#241
SuvarnaMeenakshi merged 1 commit intosonic-net:masterfrom
keboliu:rfc2737-verdor-rev-update

Conversation

@keboliu
Copy link
Collaborator

@keboliu keboliu commented Jan 19, 2022

Signed-off-by: Kebo Liu [email protected]

- What I did

In the TRANSCEIVER_INFO table of STATE_DB, the key of transceiver reversion was changed from "hardware_rev" to "vendor_rev", detail info please refer to PR sonic-net/sonic-platform-daemons#231

RFC2737 implementation needs to be updated with the new key name in order to get the correct info from the state DB

- How I did it

Update the key name from "hardware_rev" to "vendor_rev", update the unit test cases.

- How to verify it

Run the community SNMP test.

- Description for the changelog

@keboliu
Copy link
Collaborator Author

keboliu commented Jan 26, 2022

Hi @qiluo-msft would you please help to review this fix when you have time?

Copy link
Contributor

@SuvarnaMeenakshi SuvarnaMeenakshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@SuvarnaMeenakshi
Copy link
Contributor

@keboliu Please add required labels if this is to be cherry picked to the older branches.

@SuvarnaMeenakshi SuvarnaMeenakshi merged commit 4ee573c into sonic-net:master Feb 1, 2022
@keboliu keboliu deleted the rfc2737-verdor-rev-update branch February 9, 2022 02:04
ssithaia-ebay pushed a commit to ssithaia-ebay/sonic-snmpagent that referenced this pull request May 23, 2025
- What I did

In the TRANSCEIVER_INFO table of STATE_DB, the key of transceiver reversion was changed from "hardware_rev" to "vendor_rev", detail info please refer to PR sonic-net/sonic-platform-daemons#231

RFC2737 implementation needs to be updated with the new key name in order to get the correct info from the state DB

- How I did it

Update the key name from "hardware_rev" to "vendor_rev", update the unit test cases.

- How to verify it

Run the community SNMP test.

- Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants