Add parameter to get Server Hardware MAC address from iLO
This patch adds the allow insecure connection parameter in the method get_sh_mac_from_ilo. Change-Id: I69485d85d32bfafd93c3f955c41cac3fb078a920
This commit is contained in:
parent
787b72794a
commit
2605032944
@ -284,7 +284,10 @@ class BaseClient(object):
|
||||
def get_sh_mac_from_ilo(self, server_hardware_uuid, nic_index=0):
|
||||
host_ip, ilo_token = self._get_ilo_access(server_hardware_uuid)
|
||||
try:
|
||||
return ilo_utils.get_mac_from_ilo(host_ip, ilo_token, nic_index)
|
||||
return ilo_utils.get_mac_from_ilo(host_ip,
|
||||
ilo_token,
|
||||
nic_index,
|
||||
self.allow_insecure_connections)
|
||||
finally:
|
||||
ilo_utils.ilo_logout(host_ip, ilo_token)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user