aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2017-02-16 06:30:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-16 06:30:28 +0000
commit1eb4b53c4a7e34c592337ba26583d13d40c9630a (patch)
treea1a97095e1799683cd2281c1b88a68ef530a9c23 /yardstick/benchmark/scenarios/networking
parent2c07b32c372594e5d0a936e76baca80ff87993c7 (diff)
parentc6d584f5e050cf79eb640bae3d6ca36e2788890f (diff)
Merge "pylint fixes: remove redundant parens, fix comparison order"
Diffstat (limited to 'yardstick/benchmark/scenarios/networking')
-rw-r--r--yardstick/benchmark/scenarios/networking/sfc_openstack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/networking/sfc_openstack.py b/yardstick/benchmark/scenarios/networking/sfc_openstack.py
index caaf10060..be24add32 100644
--- a/yardstick/benchmark/scenarios/networking/sfc_openstack.py
+++ b/yardstick/benchmark/scenarios/networking/sfc_openstack.py
@@ -81,7 +81,7 @@ def create_floating_ips(neutron_client): # pragma: no cover
ips = []
props = {'floating_network_id': extnet_id}
try:
- while (len(ips) < 2):
+ while len(ips) < 2:
ip_json = neutron_client.create_floatingip({'floatingip': props})
fip_addr = ip_json['floatingip']['floating_ip_address']
ips.append(fip_addr)