Switch using exec_command() directly
get_ip_list() is a private method in Tempest and it will be removed soon with Iadddf283dc7bed502285cb2fc9e87110787d87a0 . This patch switches using exec_command() instead. Change-Id: If7423b610ff25127725046df3a44195c03d46b9a
This commit is contained in:
parent
65c49f1876
commit
35cda71f8c
|
@ -237,7 +237,7 @@ class ScenarioPolicyBase(manager.NetworkScenarioTest):
|
|||
|
||||
def _get_server_nics(self, ssh_client):
|
||||
reg = re.compile(r'(?P<num>\d+): (?P<nic_name>\w+):')
|
||||
ipatxt = ssh_client.get_ip_list()
|
||||
ipatxt = ssh_client.exec_command("ip address")
|
||||
return reg.findall(ipatxt)
|
||||
|
||||
def _check_network_internal_connectivity(self, network):
|
||||
|
|
Loading…
Reference in New Issue