From 40a1600f3e3a010011aa1f25725382e76abf20fc Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 14 Nov 2018 14:30:13 -0500 Subject: [PATCH] Add FPC/SMM description The get_description call will now help describe the height of current Lenovo dense portfolio chassis. Change-Id: I7d7f53b71360f3e2227c08a06cac03ac0d407210 --- pyghmi/ipmi/oem/lenovo/handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyghmi/ipmi/oem/lenovo/handler.py b/pyghmi/ipmi/oem/lenovo/handler.py index f13545e8..cf3c02e4 100755 --- a/pyghmi/ipmi/oem/lenovo/handler.py +++ b/pyghmi/ipmi/oem/lenovo/handler.py @@ -925,6 +925,8 @@ class OEMHandler(generic.OEMHandler): def get_description(self): if self.has_xcc: return self.immhandler.get_description() + if self.is_fpc: + return {'height': self._fpc_variant, 'slot': 0} return super(OEMHandler, self).get_description() def get_system_configuration(self, hideadvanced):