From 2d5d72eaf71df1cc38f1cfbb0bee4820dc0cad4c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson <jjohnson2@lenovo.com> Date: Fri, 21 Jun 2019 11:26:22 -0400 Subject: [PATCH] Fix SD650 Redfish SD650 was not detected as a Lenovo system. Change-Id: Ie0e0213058749c25840120447373e457e10aa5aa --- pyghmi/redfish/oem/lenovo/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/redfish/oem/lenovo/main.py b/pyghmi/redfish/oem/lenovo/main.py index cc176437..b5fc2163 100644 --- a/pyghmi/redfish/oem/lenovo/main.py +++ b/pyghmi/redfish/oem/lenovo/main.py @@ -18,7 +18,7 @@ from pyghmi.redfish.oem.lenovo import xcc def get_handler(sysinfo, sysurl, webclient, cache): leninf = sysinfo.get('Oem', {}).get('Lenovo', {}) - if 'FrontPanelUSB' in leninf: + if 'FrontPanelUSB' in leninf or sysinfo.get('SKU', '').startswitch('7X58'): return xcc.OEMHandler(sysinfo, sysurl, webclient, cache) else: return generic.OEMHandler(sysinfo, sysurl, webclient, cache)