mirror of
https://opendev.org/x/pyghmi
synced 2026-04-01 15:53:32 +00:00
Add water cooled 9-PSU variant
The water cooled chassis has a 9 PSU variant that must be recognized. Change-Id: If6b214e0d8e7366f663430a7dc5fcac421c7d9ca
This commit is contained in:
@@ -180,7 +180,7 @@ def get_psu_count(ipmicmd, variant):
|
||||
if variant == 0x26:
|
||||
mymsg = ipmicmd.xraw_command(netfn=0x32, command=0xa8)
|
||||
builddata = bytearray(mymsg['data'])
|
||||
if builddata[13] == 3:
|
||||
if builddata[13] in (3, 6):
|
||||
return 9
|
||||
else:
|
||||
return 6
|
||||
|
||||
Reference in New Issue
Block a user