aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/chain_clients.py
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2017-10-13 00:30:22 -0700
committerahothan <ahothan@cisco.com>2017-10-20 00:37:14 -0700
commitaf564a30bcf5574ac444b59bd0434207667dcb28 (patch)
tree7e0802d0a95f72aaa655b8c86a1ba1120a4483c8 /nfvbench/chain_clients.py
parentf37418c3f04d8fb3fcbc7a58443ac5572c7584a2 (diff)
NFVBENCH-5 NFVBENCH-39 Fix long prep time with large number of flows
Fix bad ip addr count with step>0.0.0.1 Add unit test code Change-Id: Ia1a3ae5188984aa0ed1f31954f17063a6f2925fd Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/chain_clients.py')
-rw-r--r--nfvbench/chain_clients.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfvbench/chain_clients.py b/nfvbench/chain_clients.py
index 01bf435..ac95247 100644
--- a/nfvbench/chain_clients.py
+++ b/nfvbench/chain_clients.py
@@ -310,8 +310,8 @@ class BasicStageClient(object):
with open(boot_script_file, 'r') as boot_script:
content = boot_script.read()
- g1cidr = self.config.generator_config.src_device.gateway_ip_list[chain_index] + '/8'
- g2cidr = self.config.generator_config.dst_device.gateway_ip_list[chain_index] + '/8'
+ g1cidr = self.config.generator_config.src_device.get_gw_ip(chain_index) + '/8'
+ g2cidr = self.config.generator_config.dst_device.get_gw_ip(chain_index) + '/8'
vm_config = {
'forwarder': self.config.vm_forwarder,