From f84c0f2481a19a2ab74fe722867c867bc9ede966 Mon Sep 17 00:00:00 2001 From: ahothan Date: Fri, 13 Oct 2017 00:30:22 -0700 Subject: 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 --- nfvbench/chain_clients.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nfvbench/chain_clients.py') diff --git a/nfvbench/chain_clients.py b/nfvbench/chain_clients.py index c6df08a..4277049 100644 --- a/nfvbench/chain_clients.py +++ b/nfvbench/chain_clients.py @@ -313,8 +313,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, -- cgit 1.2.3-korg