summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
46af78e)
The interface for the hardware detector's get_hw_data function changed
to add a privilege level argument. This change fixes a call to that
function to include the argument.
signed-off-by: dave kormann <davek@research.att.com>
Change-Id: I04ebb9373a5f6a48d7d59f9f7ca7af997dd8a028
host = self._uc['hosts'][hw]['hwmgmt']['address']
user = self._uc['hosts'][hw]['hwmgmt']['user']
passwd = self._uc['hosts'][hw]['hwmgmt']['password']
host = self._uc['hosts'][hw]['hwmgmt']['address']
user = self._uc['hosts'][hw]['hwmgmt']['user']
passwd = self._uc['hosts'][hw]['hwmgmt']['password']
+ priv_level = self._uc['hosts'][hw]['hwmgmt'].get('priv_level', 'ADMINISTRATOR')
- hw_data = hw_detect.get_hw_data(host, user, passwd, False)
+ hw_data = hw_detect.get_hw_data(host, user, passwd, priv_level, False)
- error = "Harware not detected for {}: {}".format(hw, str(e))
+ error = "Hardware not detected for {}: {}".format(hw, str(e))
logging.error(error)
raise BMCException(error)
logging.error(error)
raise BMCException(error)