From d88b508e718493f511c02626c48d62530be9e696 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 20 Feb 2019 09:22:21 -0500 Subject: [PATCH] Suppress Avago RAID config The storage configuration interface is more appropriate and other tools mask these settings. Change-Id: I02bd935e68beb63ae725eb45cb062604377f26bd --- pyghmi/ipmi/oem/lenovo/imm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 4cb47035..d7cd3e09 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -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