mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 19:57:47 +00:00
Merge "Add the bay number for dense Lenovo platform"
This commit is contained in:
commit
d30e52f15f
@ -413,7 +413,11 @@ class IMMClient(object):
|
||||
hwmap = {}
|
||||
enclosureuuid = self.get_property('/v2/ibmc/smm/chassis/uuid')
|
||||
if enclosureuuid:
|
||||
hwmap['Enclosure'] = {'UUID': fixup_uuid(enclosureuuid)}
|
||||
bay = self.get_property('/v2/cmm/sp/7')
|
||||
hwmap['Enclosure'] = {
|
||||
'UUID': fixup_uuid(enclosureuuid),
|
||||
'Bay': bay,
|
||||
}
|
||||
adapterdata = self.get_cached_data('lenovo_cached_adapters')
|
||||
if not adapterdata:
|
||||
if self.updating:
|
||||
|
Loading…
x
Reference in New Issue
Block a user