diff --git a/pyghmi/ipmi/oem/lenovo/config.py b/pyghmi/ipmi/oem/lenovo/config.py index b638d83a..4338bb7b 100644 --- a/pyghmi/ipmi/oem/lenovo/config.py +++ b/pyghmi/ipmi/oem/lenovo/config.py @@ -298,6 +298,13 @@ class LenovoFirmwareConfig(object): name = setting.find("mriName").text help = setting.find("desc").text onedata = setting.find('text_data') + if onedata is not None: + if onedata.get('password') == 'true': + protect = True + enumdata = setting.find('enumerate_data') + if enumdata is not None: + if enumdata.get('maxinstance') is not None: + protect = True if onedata is None: onedata = setting.find('numeric_data') if onedata is not None: