2d0bad0523
* * platform/innoviunm: Add a new supported device and platform, SSE-T7132S * Switch Vendor: Supermicro * Switch SKU: Supermicro_sse_t7132s * ASIC Vendor: innovium * Swich ASIC: TL7 * Port Configuration: 32x400G * SONiC Image: SONiC-ONIE-Innoviunm Signed-off-by: wilsonw <wilsonw@supermicro.com.tw>
9 lines
356 B
Python
9 lines
356 B
Python
from sonic_platform_base.sonic_ssd.ssd_generic import SsdUtil as SsdUtilGeneric
|
|
|
|
class SsdUtil(SsdUtilGeneric):
|
|
def parse_innodisk_info(self):
|
|
super().parse_innodisk_info()
|
|
if self.vendor_ssd_info:
|
|
# fix too lazy pattern 'Health:\s*(.+?)%?'
|
|
self.health = self._parse_re('Health:\s*(.+?)%', self.vendor_ssd_info)
|