2
0
mirror of https://opendev.org/x/pyghmi synced 2026-04-02 00:03:30 +00:00

Block FFDC data from FPC

FPC does not implement this feature.

Change-Id: I3aab4983ae48efe6655ccf20ae2cc2fc4e27498e
This commit is contained in:
Jarrod Johnson
2022-02-16 17:21:18 -05:00
parent 51ec034e11
commit 1b800e3f85

View File

@@ -688,6 +688,8 @@ class SMMClient(object):
def get_diagnostic_data(self, savefile, progress=None, autosuffix=False,
variant=None):
if variant == 6:
raise Exception('Service data not supported on FPC')
rsp = self.ipmicmd.xraw_command(netfn=0x32, command=0xb1, data=[0])
if bytearray(rsp['data'])[0] != 0:
raise Exception("Service data generation already in progress")