mirror of
https://opendev.org/x/pyghmi
synced 2025-01-27 19:37:44 +00:00
Hide instanced and password settings
These are currently not supported. Change-Id: Ie38e38ebe199d61aedbd624c1dedca6f33ae5d02
This commit is contained in:
parent
02b78e2251
commit
a444c31b06
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user