mirror of
https://opendev.org/x/pyghmi
synced 2026-04-01 15:53:32 +00:00
Do not attempt PSU inventory on FPC
FPC does not support the same PSU inventory that SMM added. Change-Id: I85961df9d35e99b7bddaedb85eda9d2ad71653ee
This commit is contained in:
@@ -955,6 +955,8 @@ class SMMClient(object):
|
||||
return 'complete'
|
||||
|
||||
def get_inventory_descriptions(self, ipmicmd, variant):
|
||||
if variant >> 5 == 0:
|
||||
return
|
||||
psucount = get_psu_count(ipmicmd, variant)
|
||||
for idx in range(psucount):
|
||||
yield 'PSU {}'.format(idx + 1)
|
||||
|
||||
Reference in New Issue
Block a user