[Mellanox] Return N/A for PSU's model, serial and revision on platforms with fixed PSU#73
Closed
[Mellanox] Return N/A for PSU's model, serial and revision on platforms with fixed PSU#73
Conversation
Signed-off-by: Stephen Sun <stephens@nvidia.com>
keboliu
approved these changes
Jun 21, 2021
stephenxs
pushed a commit
that referenced
this pull request
May 31, 2022
[sonic-linkmgrd][master] submodule updates d744bfb Longxiang Lyu Wed May 25 08:40:42 2022 +0800 Support switch between using wellknown mac or server mac addr (#73) 684e989 Jing Zhang Wed May 18 09:59:02 2022 -0700 Avoid switching active when LinkState == Down (#77) e4aa4fd Longxiang Lyu Tue May 17 09:13:23 2022 +0800 [Makefile] Remove redundant optimization options (#75) 4ec7505 Jing Zhang Thu May 12 08:19:20 2022 -0700 [ci]: uplift diff coverage threshold to 80% (#71) sign-off: Jing Zhang zhangjing@microsoft.com
stephenxs
pushed a commit
that referenced
this pull request
Jul 23, 2025
…ically (sonic-net#23211) #### Why I did it src/sonic-dash-ha ``` * ff1b02a - (HEAD -> master, origin/master, origin/HEAD) Implement HA-Scope actor (#73) (20 hours ago) [yue-fred-gao] * 832e67a - Implement HA-SET actor (#70) (4 days ago) [yue-fred-gao] * cadfa46 - Implement vdpu actor (#67) (5 days ago) [yue-fred-gao] ``` #### How I did it #### How to verify it #### Description for the changelog
stephenxs
pushed a commit
that referenced
this pull request
Nov 19, 2025
…ly (sonic-net#24533) #### Why I did it src/sonic-stp ``` * d30e086 - (HEAD -> master, origin/master, origin/HEAD) Fix issues with PDU structure alignment, IPC msg processing (#73) (4 days ago) [Yogapriya-cisco] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or 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
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.
Signed-off-by: Stephen Sun stephens@nvidia.com
Why I did it
The methods
get_model,get_serial, andget_revisionhave been implemented by reading relevant information from VPD and then recording the information into relevant fields.However, there is no VPD data on platforms with fixed PSUs and relevant fields haven't been initialized, which causes the methods to throw exceptions. which in turn prevents
psudfrom inserting fields into PSU table.Eventually, this causes
show platform psustatusdoesn't output correct info.How I did it
Initliaze those fields as
N/Aon systems with fixed PSUs.How to verify it
Manually test.
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)