Support for static and dynamic attrs as part of stormond implementation#439
Support for static and dynamic attrs as part of stormond implementation#439prgeor merged 24 commits intosonic-net:masterfrom
Conversation
|
@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? |
prgeor
left a comment
There was a problem hiding this comment.
@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
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. |
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