summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-02-08 16:54:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-08 16:54:34 +0000
commit773acea6072b38a8b63433ebb53ac86dc522467b (patch)
treeefc198c2f210a4dccd87a2fa28eb664761c26326
parente25bab2e849936c3557c717b05b1b0e92822918b (diff)
parent33b6cf3e1ae4a4a43163638d48f0a51dfdaa5f4b (diff)
Merge "Avoid looking for VMs from tenants different from the one running the testcase"
-rw-r--r--sfc/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py
index 3238e097..2f98f6ff 100644
--- a/sfc/lib/utils.py
+++ b/sfc/lib/utils.py
@@ -224,7 +224,7 @@ def ping(remote, pkt_cnt=1, iface=None, retries=100, timeout=None):
def get_floating_ips(nova_client, neutron_client):
ips = []
- instances = nova_client.servers.list(search_opts={'all_tenants': 1})
+ instances = nova_client.servers.list()
for instance in instances:
floatip_dic = os_utils.create_floating_ip(neutron_client)
floatip = floatip_dic['fip_addr']