aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/trex/trex_stateless_profile.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-08-21 15:48:34 +0200
committerPeter Mikus <pmikus@cisco.com>2017-09-04 04:44:25 +0000
commit448ccab441d0905fd4b1a0bed19b3bd3f4859a2e (patch)
treef268ec1c90b22e589239c72c0cb76f2e48e09885 /resources/tools/trex/trex_stateless_profile.py
parentfb81da5916284fd47d4564e70ce92b8b4c819469 (diff)
CSIT-786 L2FIB scale testing
L2FIB scale testing for 10k, 100k, 1m FIB entries ./l2: 10ge2p1x520-eth-l2bdscale10kmaclrn-ndrpdrdisc.robot 10ge2p1x520-eth-l2bdscale100kmaclrn-ndrpdrdisc.robot 10ge2p1x520-eth-l2bdscale1mmaclrn-ndrpdrdisc.robot 10ge2p1x520-eth-l2bdscale10kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc 10ge2p1x520-eth-l2bdscale100kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc 10ge2p1x520-eth-l2bdscale1mmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc Change-Id: I7e3884bd5ab5294c289030a3465ec5b6def83cf7 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/trex/trex_stateless_profile.py')
-rwxr-xr-xresources/tools/trex/trex_stateless_profile.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/tools/trex/trex_stateless_profile.py b/resources/tools/trex/trex_stateless_profile.py
index d44089018e..a3072cfaed 100755
--- a/resources/tools/trex/trex_stateless_profile.py
+++ b/resources/tools/trex/trex_stateless_profile.py
@@ -125,6 +125,9 @@ def simple_burst(profile_file, duration, framesize, rate, warmup_time, port_0,
client.reset(ports=[port_0, port_1])
client.remove_all_streams(ports=[port_0, port_1])
+ if "macsrc" in profile_file:
+ client.set_port_attr(ports=[port_0, port_1], promiscuous=True,
+ resolve=False)
if isinstance(framesize, int):
client.add_streams(streams[0], ports=[port_0])
client.add_streams(streams[1], ports=[port_1])