2
0
mirror of https://opendev.org/x/pyghmi synced 2026-05-14 02:14:21 +00:00

Suppress Avago RAID config

The storage configuration interface is more appropriate
and other tools mask these settings.

Change-Id: I02bd935e68beb63ae725eb45cb062604377f26bd
This commit is contained in:
Jarrod Johnson
2019-02-20 09:22:21 -05:00
parent ddf12b6b58
commit d88b508e71
+4
View File
@@ -172,6 +172,10 @@ class IMMClient(object):
self.fwovintage = util._monotonic_time()
retcfg = {}
for opt in self.fwo:
if 'AvagoMegaRAIDConfigurationTool' in opt:
# Suppress the Avago configuration to be consistent with
# other tools.
continue
if (hideadvanced and self.fwo[opt]['lenovo_protect'] or
self.fwo[opt]['hidden']):
# Do not enumerate hidden settings