-
Notifications
You must be signed in to change notification settings - Fork 670
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
[psuutil] Refactor to utilize sonic-platform package #1434
Merged
jleveque
merged 4 commits into
sonic-net:master
from
jleveque:psuutil_use_sonic_platform
Feb 16, 2021
Merged
[psuutil] Refactor to utilize sonic-platform package #1434
jleveque
merged 4 commits into
sonic-net:master
from
jleveque:psuutil_use_sonic_platform
Feb 16, 2021
Conversation
This file contains 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
This pull request introduces 2 alerts when merging bb3af31 into 18cd8ba - view on LGTM.com new alerts:
|
lguohan
approved these changes
Feb 15, 2021
This was referenced Feb 16, 2021
4 tasks
yxieca
pushed a commit
that referenced
this pull request
Feb 23, 2021
#### What I did Refactor psuutil to use sonic-platform package in lieu of old, deprecated platform plugins. The psuutil utility is still useful, as psushow only reads and displays PSU data from State DB. However, this utility provides us the ability to read directly from the PSUs which is helpful for debugging. #### How I did it - Complete refactor to use sonic-platform package - Add more output columns to display (Model, Serial, Voltage, Current, Power) - Bump version to 2.0 - Add basic unit tests
anand-kumar-subramanian
pushed a commit
to anand-kumar-subramanian/sonic-utilities
that referenced
this pull request
Mar 2, 2021
#### What I did Refactor psuutil to use sonic-platform package in lieu of old, deprecated platform plugins. The psuutil utility is still useful, as psushow only reads and displays PSU data from State DB. However, this utility provides us the ability to read directly from the PSUs which is helpful for debugging. #### How I did it - Complete refactor to use sonic-platform package - Add more output columns to display (Model, Serial, Voltage, Current, Power) - Bump version to 2.0 - Add basic unit tests
stepanblyschak
pushed a commit
to stepanblyschak/sonic-utilities
that referenced
this pull request
Apr 28, 2022
Avoid adding loopback interface (ip link add) when setting nat zone on loopback interface (sonic-net#1434) [acl] Remove Ethertype from L3V6 qualifiers (sonic-net#1433) Sflow fixes during DEL processing (sonic-net#1427) Fix #3971 by skipping create-only SAI attributes when modifying buffer pools or profiles in orchagent (sonic-net#1430) Fix issue: bufferorch only pass the first attribute to sai when setting attribute (sonic-net#1442) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
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.
What I did
Refactor psuutil to use sonic-platform package in lieu of old, deprecated platform plugins.
The psuutil utility is still useful, as psushow only reads and displays PSU data from State DB. However, this utility provides us the ability to read directly from the PSUs which is helpful for debugging.
How I did it
How to verify it
Run all
psuutil
commands, ensure they work. Do the same on multiple platforms. Output should be the same as before.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)