X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=inventoryhandlers%2Fstorageinventory%2Fstorageinventory.py;h=73a75b0531e0b19ec27616c1598867535de77cad;hb=69a3689dc1dbec809f9af555f54e971e8b48bc1f;hp=b0a91829b1ee45e85333bf43a575d43a094d44a9;hpb=a58547f77cc273737e083e440c6ec3b234839a14;p=ta%2Fcm-plugins.git diff --git a/inventoryhandlers/storageinventory/storageinventory.py b/inventoryhandlers/storageinventory/storageinventory.py old mode 100644 new mode 100755 index b0a9182..73a75b0 --- a/inventoryhandlers/storageinventory/storageinventory.py +++ b/inventoryhandlers/storageinventory/storageinventory.py @@ -1319,7 +1319,8 @@ class storageinventory(cmansibleinventoryconfig.CMAnsibleInventoryConfigPlugin): hwmgmt_addr = self._hosts_config_handler.get_hwmgmt_ip(name) hwmgmt_user = self._hosts_config_handler.get_hwmgmt_user(name) hwmgmt_pass = self._hosts_config_handler.get_hwmgmt_password(name) - return hw.get_hw_type(hwmgmt_addr, hwmgmt_user, hwmgmt_pass) + hwmgmt_priv_level = self._hosts_config_handler.get_hwmgmt_priv_level(name) + return hw.get_hw_type(hwmgmt_addr, hwmgmt_user, hwmgmt_pass, hwmgmt_priv_level) @staticmethod def _get_os_disk(hw_type):