mirror of
https://opendev.org/x/pyghmi
synced 2026-04-01 15:53:32 +00:00
Apply new PSU configuration to non-FPC variants
FPC had a different command, but for all the newer variants, also apply the SMM vocabulary for modifying configuration. Change-Id: I167de6f1953391d494c2e0c6b4d4d6b9447f0af5
This commit is contained in:
@@ -559,7 +559,7 @@ class SMMClient(object):
|
||||
self.wc.request('POST', '/data', rules)
|
||||
self.wc.getresponse().read()
|
||||
if powercfg != [None, None]:
|
||||
if variant == 2:
|
||||
if variant != 6:
|
||||
if None in powercfg:
|
||||
currcfg = self.ipmicmd.xraw_command(0x32, 0xa2)
|
||||
currcfg = bytearray(currcfg['data'])
|
||||
|
||||
Reference in New Issue
Block a user