mirror of
https://opendev.org/x/pyghmi
synced 2025-07-18 02:01:10 +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:
@@ -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(':')
|
||||
|
Reference in New Issue
Block a user