-
Notifications
You must be signed in to change notification settings - Fork 175
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
Support for static and dynamic attrs as part of stormond implementation #439
Conversation
d729e0c
to
c235350
Compare
@assrinivasan PR description says unit test pending |
@assrinivasan please fix the build failure |
@assrinivasan "How Has This Been Tested?" Add the output one for each utility you modified? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@assrinivasan please make sure we are able to build sonic image for all platforms.
…temperature parsing.
…ied child class implementation accordingly
storage_devices.py: Moved imports to the beginning of file renamed function to _storage_device_object_factory Above function now returns an object storage_common.py: Changed logic to only get reads and writes using psutil library.
Changed parse_id_number logic to prevent phantom regex matches Fixed a bug in parse_id_number that was causing the code to disregard vendor_ssd_info Fixed issues with Innodisk and Virtium parsers Fixed a ValueError bug in Virtium parser logic Added UTs to test the various changes
6964ae1
to
67e5cae
Compare
Added as attachments to the PR |
https://dev.azure.com/mssonic/build/_build/results?buildId=557473&view=results -- Verified that we are able to successfully build for all platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@assrinivasan please use SysLogger as direct usage of logger pollutes the identifier name for others daemons
Done in latest. |
Description
This PR enhances the ssdutil class to now be able to fetch the following information:
It also adds support for Micron and Intel storage devices.
Motivation and Context
This is a sister PR to the stormond implementation.
SONiC Storage Monitoring Daemon HLD
How Has This Been Tested?
Has been manually tested on following platforms:
Arista-7050CX3
Mellanox-SN2700
Dell-S6100
Additional Information (Optional)
Verified that build was successful and ssdutil output was unaffected:
7050cx3.txt
S6100.txt
SN2700.txt