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

Change get_transceiver_info_firmware_versions return type to dict #440

Conversation

mihirpat1
Copy link
Contributor

@mihirpat1 mihirpat1 commented Feb 16, 2024

Description

Modify the return type of get_transceiver_info_firmware_versions API to dictionary.
Also, remove the active_firmware and inactive_firmware fields from get_transceiver_info since xcvrd is now using TRANSCEIVER_FIRMWARE_INFO table to store these values.
MSFT ADO - 26788561

This PR should be merged along with sonic-net/sonic-platform-daemons#435 and sonic-net/sonic-mgmt#11708.

Motivation and Context

This changeset is required to store active_firmware and inactive_firmware fields to TRANSCEVIER_FIRMWARE_INFO table in xcvrd.

How Has This Been Tested?

Please refer to the test result details added in sonic-net/sonic-platform-daemons#435

Additional Information (Optional)

Signed-off-by: Mihir Patel <patelmi@microsoft.com>
@prgeor prgeor merged commit 796e89a into sonic-net:master Feb 16, 2024
5 checks passed
@mihirpat1
Copy link
Contributor Author

@StormLiangMS @yxieca - Can you please help to cherry-pick this to 202205, 202305 and 202311?
MSFT ADO - 26788561

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #441

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #443

mssonicbld pushed a commit that referenced this pull request Feb 22, 2024
Signed-off-by: Mihir Patel <patelmi@microsoft.com>
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