sonic-utilities
sonic-utilities copied to clipboard
[psushow & psuutil] Support PSU power threshold checking
What I did
Support PSU power threshold checking
- Introduce a new state for the PSU, indicating whether a PSU power threshold is exceeded
- For
psuutil, expose the power thresholds - Add
HW Revtopsuutil
Signed-off-by: Stephen Sun [email protected]
How I did it
How to verify it
Unit and manual test
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
This pull request introduces 2 alerts when merging f5165b31148c82e0ecfd9e4aee901149551a3c1c into e14f679148159d7dc3f10fa2662fb8f7b202c3fc - view on LGTM.com
new alerts:
- 2 for Testing equality to None
@stephenxs could you resolve merge conflicts?
@stephenxs Please populate these sections of the PR template:-
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
@stephenxs Please populate these sections of the PR template:-
Previous command output (if the output of a command-line utility has changed) New command output (if the output of a command-line utility has changed)
Done
@stephenxs could you resolve merge conflicts?
Done by rebasing it.
psutest.txt @prgeor a test log. all PSU test passed