summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorfmenguy <francoisregis.menguy@orange.com>2020-04-21 18:26:41 +0200
committerfmenguy <francoisregis.menguy@orange.com>2021-03-30 09:12:15 +0200
commit8755c892f6cfbfb8ca4f3405675dfe770c769605 (patch)
treee54372ba440ea7f9c1815a31936b3d3d97fe25d4 /test
parentc3e9d0fc0076f0a2930f13366255b0e8e65fb814 (diff)
NFVBENCH-163: Add gratuitous ARP in case of L3 router mode
Change-Id: Iec2b186176285f723eb2685319c55e6cd6d33a8a Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'test')
-rw-r--r--test/mock_trex.py2
-rw-r--r--test/test_nfvbench.py5
2 files changed, 5 insertions, 2 deletions
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):