diff options
author | 2016-01-10 04:13:39 -0500 | |
---|---|---|
committer | 2016-01-10 04:13:39 -0500 | |
commit | 773e9d1c67c314aca8f6f88f676b4dd2d777863d (patch) | |
tree | 99f664f967787f8ab4a35aa0d28dfd3c4e10ce41 /scripts/stl | |
parent | 505d0dcd8b094cc11a20986f4417facc0a7a9dd7 (diff) | |
parent | 859a72101c94a26296efcc713882b472caf6ff8e (diff) |
Merge branch 'master' of https://github.com/danklein10/trex-core into danklein10-master
Diffstat (limited to 'scripts/stl')
-rw-r--r-- | scripts/stl/imix_3pkt_vm.yaml | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/scripts/stl/imix_3pkt_vm.yaml b/scripts/stl/imix_3pkt_vm.yaml new file mode 100644 index 00000000..d812634c --- /dev/null +++ b/scripts/stl/imix_3pkt_vm.yaml @@ -0,0 +1,94 @@ +### Three-stream UDP packets, 64B, 594B and 1518B ### +##################################################### +- name: udp_64B + stream: + self_start: True + packet: + binary: stl/udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: single_burst + total_pkts: 100 + pps: 100 + rx_stats: [] + + vm: + instructions: [ + { + "init_value" : 100, + "max_value" : 5000, + "min_value" : 100, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "type" : "flow_var" + }, + { + "add_value" : 1, + "is_big_endian" : true, + "name" : "l3_src", + "pkt_offset" : 34, + "type" : "write_flow_var" + } + ] + split_by_var: "l3_src" + +- name: udp_594B + stream: + self_start: True + packet: + binary: stl/udp_594B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 20 + rx_stats: [] + vm: + instructions: [ + { + "init_value" : 100, + "max_value" : 5000, + "min_value" : 100, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "type" : "flow_var" + }, + { + "add_value" : 1, + "is_big_endian" : true, + "name" : "l3_src", + "pkt_offset" : 34, + "type" : "write_flow_var" + } + ] + split_by_var: "l3_src" + +- name: udp_1518B + stream: + self_start: True + packet: + binary: stl/udp_1518B_no_crc.pcap # pcap should not include CRC + mode: + type: single_burst + total_pkts: 100 + pps: 4 + rx_stats: [] + vm: + instructions: [ + { + "init_value" : 100, + "max_value" : 5000, + "min_value" : 100, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "type" : "flow_var" + }, + { + "add_value" : 1, + "is_big_endian" : true, + "name" : "l3_src", + "pkt_offset" : 34, + "type" : "write_flow_var" + } + ] + split_by_var: "l3_src"
\ No newline at end of file |