Merge "Log the result of command in get_nic_name_by_ip"
This commit is contained in:
commit
86bf972686
|
@ -98,6 +98,7 @@ class RemoteClient(remote_client.RemoteClient):
|
|||
def get_nic_name_by_ip(self, address):
|
||||
cmd = "ip -o addr | awk '/%s/ {print $2}'" % address
|
||||
nic = self.exec_command(cmd)
|
||||
LOG.debug('(get_nic_name_by_ip) Command result: %s', nic)
|
||||
return nic.strip().strip(":").split('@')[0].lower()
|
||||
|
||||
def get_dns_servers(self):
|
||||
|
|
Loading…
Reference in New Issue