Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Virtium SSD which doesn't support SmartCMD, to use only smartc…
…tl (#522) - Description Add support for Virtium SSD which can't use SmartCMD - to use only smartctl (using generic ssd info parser). - Motivation and Context There are Virtium SSDs which can't receive SSD info from 'SmartCMD', and must use 'smartctl' command. For those SSDs, after calling the generic ssd parser, the function is finished and the specific vendor parser won't be called. - How Has This Been Tested? I tested it manually with a special Virtium SSD which doesn't support SmartCMD - Additional Information (Optional) output after the change: root@sonic:/home/admin# show platform ssdhealth Disk Type : NVME Device Model : Virtium VTPM24CEXI080-BM110006 Health : 100.0% Temperature : 52.0C output before the change: root@sonic:/home/admin# show platform ssdhealth [Error] Cannot read SMART information on device /dev/nvme0n1 Disk Type : NVME Device Model : Virtium VTPM24CEXI080-BM110006 Health : N/A Temperature : 51.0C
- Loading branch information