From 8755c892f6cfbfb8ca4f3405675dfe770c769605 Mon Sep 17 00:00:00 2001 From: fmenguy Date: Tue, 21 Apr 2020 18:26:41 +0200 Subject: NFVBENCH-163: Add gratuitous ARP in case of L3 router mode Change-Id: Iec2b186176285f723eb2685319c55e6cd6d33a8a Signed-off-by: fmenguy --- test/mock_trex.py | 2 ++ test/test_nfvbench.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/mock_trex.py b/test/mock_trex.py index 4884c98..ac7daf1 100644 --- a/test/mock_trex.py +++ b/test/mock_trex.py @@ -43,6 +43,7 @@ except ImportError: api_mod.CTRexVmInsFixHwCs = STLDummy api_mod.Dot1Q = STLDummy api_mod.Ether = STLDummy + api_mod.ARP = STLDummy api_mod.IP = STLDummy api_mod.STLClient = STLDummy api_mod.STLFlowLatencyStats = STLDummy @@ -51,6 +52,7 @@ except ImportError: api_mod.STLScVmRaw = STLDummy api_mod.STLStream = STLDummy api_mod.STLTXCont = STLDummy + api_mod.STLTXMultiBurst = STLDummy api_mod.STLVmFixChecksumHw = STLDummy api_mod.STLVmFixIpv4 = STLDummy api_mod.STLVmFlowVar = STLDummy diff --git a/test/test_nfvbench.py b/test/test_nfvbench.py index c772d7b..e53a586 100644 --- a/test/test_nfvbench.py +++ b/test/test_nfvbench.py @@ -1070,8 +1070,9 @@ def _get_dummy_tg_config(chain_type, rate, scc=1, fc=10, step_ip='0.0.0.1', 'no_flow_stats': False, 'no_latency_stats': False, 'no_latency_streams': False, - 'intf_speed': '10Gbps' - + 'intf_speed': '10Gbps', + 'periodic_gratuitous_arp': False, + 'gratuitous_arp_pps': 1 }) def _get_traffic_client(user_info=None): -- cgit 1.2.3-korg