aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-03-01 16:11:34 +0100
committerGerrit Code Review <gerrit@fd.io>2016-03-07 13:23:58 +0000
commitcdf3213528f5f560d8d8b92c642f655cef706745 (patch)
treee72dd9ae8580cf5417340c6f379b0bf9b0c4595c /resources/tools
parent3ea531a687827454360659f91aaa026001e75d4e (diff)
Performance suite reorg, v4 tests
- perf suite splitted to 1.xconnect 2.bridge-domain 3.IPv4 - IPv4 perf tests implemented - renamed perf tests prefix 2core -> 1core Change-Id: I9ef2dbdfcfdcb36e8865989e6255d69ced33269c Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/tools')
-rwxr-xr-xresources/tools/t-rex/t-rex-stateless.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/t-rex/t-rex-stateless.py b/resources/tools/t-rex/t-rex-stateless.py
index eacf4b8d18..6c53794739 100755
--- a/resources/tools/t-rex/t-rex-stateless.py
+++ b/resources/tools/t-rex/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)
- base_pkt_b = Ether()/IP(src=p2_src_start_ip, dst=p2_dst_start_ip)
+ base_pkt_a = Ether()/IP(src=p1_src_start_ip, dst=p1_dst_start_ip, proto=61)
+ base_pkt_b = Ether()/IP(src=p2_src_start_ip, dst=p2_dst_start_ip, proto=61)
vm1 = CTRexScRaw([STLVmTupleGen(ip_min=p1_src_start_ip, ip_max=p1_src_end_ip,
name="tuple"), # define tuple gen
@@ -89,7 +89,7 @@ def create_packets(traffic_options, frame_size=64):
STLVmFixIpv4(offset="IP"), # fix checksum
]
, split_by_field="tuple") # split to cores base on the tuple generator
-
+
vm2 = CTRexScRaw([STLVmTupleGen(ip_min=p2_src_start_ip, ip_max=p2_src_end_ip,
name="tuple"), # define tuple gen