FIX: Allow configuration of IPMI privilege level 77/1077/2
authordave kormann <dk3239@att.com>
Thu, 27 Jun 2019 16:42:04 +0000 (12:42 -0400)
committerd k <davek@research.att.com>
Thu, 11 Jul 2019 12:43:07 +0000 (12:43 +0000)
commita181302dc30122e649ccb19cb735239ee96f632b
treea3447c1470f7c1a4f0d56b58c0b7b8f67450e59f
parent433c492837ce24447fecbc62f9172d2129b25473
FIX: Allow configuration of IPMI privilege level

This change updates the ipmitool invocation and its wrapper functions
to pass an IPMI privilege level value (default 'ADMINISTRATOR').

Without this value, ipmitool requests will fail if the ipmi_user
does not have ADMINISTRATOR privilege; this privilege is typically
not required for the requests being made by this library.

This change depends on
https://gerrit.akraino.org/r/c/ta/config-manager/+/1076

signed-off-by: dave kormann <davek@research.att.com>
Change-Id: I7bdd4f64a4704765761b86cf1d207c2a7849fe46
src/hw_detector/hw_detect_cli.py [changed mode: 0644->0755]
src/hw_detector/hw_detect_lib.py [changed mode: 0644->0755]
src/hw_detector/hw_ipmi_lib.py [changed mode: 0644->0755]
src/hw_detector/hw_utils.py [changed mode: 0644->0755]