Catch more XCC variants

Some XCCs rename a property to a different name.

Change-Id: I2ad278c5a99477d0aab01f4e71862196f96998fc
This commit is contained in:
Jarrod Johnson 2024-02-12 08:46:11 -05:00
parent 30d5545230
commit da7796b518
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
include AUTHORS
include LICENSE
include ChangeLog
exclude .gitignore
exclude .gitreview

View File

@ -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: