2
0
mirror of https://opendev.org/x/pyghmi synced 2025-07-17 17:51:18 +00:00

Whitelist more core drivers

LXPM and associated content also needs to be updated
the core way.

Change-Id: I0b5eb493ad1b118bac764e0c2ec842a427da8f18
This commit is contained in:
Jarrod Johnson
2017-10-26 11:27:50 -04:00
parent 3d4cdb4bad
commit c453ba5f83

View File

@@ -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(':')