aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-02-22 14:17:13 +0100
committerMiroslav Miklus <mmiklus@cisco.com>2016-02-22 13:26:24 +0000
commit959bbc915545c271271ba393f4c4b71c2ddec83c (patch)
tree51880b72a96251606ed2def9aa0484c2958c0a9f /resources/tools
parentb255549d4fee3a161c521a1a2bd8be3a0767189e (diff)
performance tests: 2core, test teardown, remove UDP header
- testing on 2 core VPP - show statistics only if test fails - remove UDP header from packet Change-Id: I5b47330a0bbc4602e8e8eb19fcc481a7635bd2a5 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/tools')
-rwxr-xr-xresources/tools/t-rex-stateless.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/t-rex-stateless.py b/resources/tools/t-rex-stateless.py
index d93a0ac029..eacf4b8d18 100755
--- a/resources/tools/t-rex-stateless.py
+++ b/resources/tools/t-rex-stateless.py
@@ -79,8 +79,8 @@ def create_packets(traffic_options, frame_size=64):
p2_dst_start_ip = traffic_options['p2_dst_start_ip']
#p2_dst_end_ip = traffic_options['p2_dst_end_ip']
- base_pkt_a = Ether()/IP(src=p1_src_start_ip, dst=p1_dst_start_ip)/UDP(dport=12, sport=1025, chksum=0)
- base_pkt_b = Ether()/IP(src=p2_src_start_ip, dst=p2_dst_start_ip)/UDP(dport=12, sport=1025, chksum=0)
+ base_pkt_a = Ether()/IP(src=p1_src_start_ip, dst=p1_dst_start_ip)
+ base_pkt_b = Ether()/IP(src=p2_src_start_ip, dst=p2_dst_start_ip)
vm1 = CTRexScRaw([STLVmTupleGen(ip_min=p1_src_start_ip, ip_max=p1_src_end_ip,
name="tuple"), # define tuple gen