mirror of
https://opendev.org/x/pyghmi
synced 2024-12-25 04:31:58 +00:00
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 LICENSE
|
||||
include ChangeLog
|
||||
exclude .gitignore
|
||||
exclude .gitreview
|
||||
|
@ -23,7 +23,7 @@ def get_handler(sysinfo, sysurl, webclient, cache, cmd):
|
||||
bmcinfo = cmd.bmcinfo
|
||||
if 'Ami' in bmcinfo.get('Oem', {}):
|
||||
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,
|
||||
gpool=cmd._gpool)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user