FIX: Allow configuration of IPMI privilege level 76/1076/2
authordave kormann <dk3239@att.com>
Thu, 27 Jun 2019 16:21:10 +0000 (12:21 -0400)
committerdave kormann <davek@research.att.com>
Fri, 28 Jun 2019 12:56:52 +0000 (08:56 -0400)
commitc3bc257650a437d095bb85e7320d2e9405391a30
tree6c73748ec4bad691be4c3a8b43fac31a902b7f9c
parentbdd5ac8de14f638347b1cb2ba4d4cc027a41f6b9
FIX: Allow configuration of IPMI privilege level

This change adds a priv_level argument to the hwmgmt specification.
The value of this parameter will be used as the requested privilege
level on IPMI requests.  Without this parameter, IPMI requests will
fail if the hwmgmt.user does not have ADMINISTRATOR privilege.  To
preserve the original semantics, the default value for the parameter
is ADMINISTRATOR.

signed-off-by: dave kormann <davek@research.att.com>
Change-Id: I8adf8d32510801914f4e8438190c52f5e9524209
cmdatahandlers/src/cmdatahandlers/hosts/config.py
userconfigtemplate/user_config.yaml