2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +00:00

Add FPC/SMM description

The get_description call will now help describe the height of current
Lenovo dense portfolio chassis.

Change-Id: I7d7f53b71360f3e2227c08a06cac03ac0d407210
This commit is contained in:
Jarrod Johnson 2018-11-14 14:30:13 -05:00
parent 84924a1f5c
commit 40a1600f3e

View File

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