Catch more XCC variants
Some XCCs rename a property to a different name. Change-Id: I2ad278c5a99477d0aab01f4e71862196f96998fc
This commit is contained in:
parent
30d5545230
commit
da7796b518
@ -1,4 +1,5 @@
|
|||||||
include AUTHORS
|
include AUTHORS
|
||||||
|
include LICENSE
|
||||||
include ChangeLog
|
include ChangeLog
|
||||||
exclude .gitignore
|
exclude .gitignore
|
||||||
exclude .gitreview
|
exclude .gitreview
|
||||||
|
@ -23,7 +23,7 @@ def get_handler(sysinfo, sysurl, webclient, cache, cmd):
|
|||||||
bmcinfo = cmd.bmcinfo
|
bmcinfo = cmd.bmcinfo
|
||||||
if 'Ami' in bmcinfo.get('Oem', {}):
|
if 'Ami' in bmcinfo.get('Oem', {}):
|
||||||
return tsma.TsmHandler(sysinfo, sysurl, webclient, cache)
|
return tsma.TsmHandler(sysinfo, sysurl, webclient, cache)
|
||||||
if 'FrontPanelUSB' in leninf or sysinfo.get('SKU', '').startswith('7X58'):
|
if 'FrontPanelUSB' in leninf or 'USBManagementPortAssignment' in leninf or sysinfo.get('SKU', '').startswith('7X58'):
|
||||||
return xcc.OEMHandler(sysinfo, sysurl, webclient, cache,
|
return xcc.OEMHandler(sysinfo, sysurl, webclient, cache,
|
||||||
gpool=cmd._gpool)
|
gpool=cmd._gpool)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user