From c453ba5f83dfa22e90b5160cdc2062ba5eb4a09b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 26 Oct 2017 11:27:50 -0400 Subject: [PATCH] Whitelist more core drivers LXPM and associated content also needs to be updated the core way. Change-Id: I0b5eb493ad1b118bac764e0c2ec842a427da8f18 --- pyghmi/ipmi/oem/lenovo/imm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 95eca4b3..d2b2d746 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -673,7 +673,9 @@ class XCCClient(IMMClient): if len(rsp['items']) != 1: raise Exception('Unexpected result: ' + repr(rsp)) firmtype = rsp['items'][0]['firmware_type'] - if firmtype not in ('UEFI', 'IMM'): # adapter firmware + if firmtype not in ( + 'TDM', 'WINDOWS DRIV', 'LINUX DRIVER', 'UEFI', 'IMM'): + # adapter firmware webid = rsp['items'][0]['webfile_build_id'] locations = webid[webid.find('[')+1:webid.find(']')] locations = locations.split(':')