diff options
Diffstat (limited to 'scripts/stl/yaml')
-rw-r--r-- | scripts/stl/yaml/burst_1000_pkt.yaml | 33 | ||||
-rw-r--r-- | scripts/stl/yaml/burst_1pkt_1burst.yaml | 11 | ||||
-rw-r--r-- | scripts/stl/yaml/burst_1pkt_vm.yaml | 34 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_1pkt.yaml | 11 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_1pkt_2.yaml | 42 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_1pkt_tuple_gen.yaml | 42 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_1pkt_vm.yaml | 34 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_1pkt_vm_minus.yaml | 34 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_2pkt.yaml | 18 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_3pkt.yaml | 28 | ||||
-rw-r--r-- | scripts/stl/yaml/imix_3pkt_vm.yaml | 96 | ||||
-rw-r--r-- | scripts/stl/yaml/ipv4_udp_9000.pcap | bin | 0 -> 9082 bytes | |||
-rw-r--r-- | scripts/stl/yaml/ipv4_udp_9k.pcap | bin | 0 -> 9270 bytes | |||
-rw-r--r-- | scripts/stl/yaml/ipv4_udp_9k_burst_10.pcap | bin | 0 -> 92484 bytes | |||
-rw-r--r-- | scripts/stl/yaml/syn_packet.pcap | bin | 0 -> 100 bytes | |||
-rw-r--r-- | scripts/stl/yaml/udp_1518B_no_crc.pcap | bin | 0 -> 1554 bytes | |||
-rw-r--r-- | scripts/stl/yaml/udp_594B_no_crc.pcap | bin | 0 -> 630 bytes | |||
-rw-r--r-- | scripts/stl/yaml/udp_64B_no_crc.pcap | bin | 0 -> 100 bytes |
18 files changed, 383 insertions, 0 deletions
diff --git a/scripts/stl/yaml/burst_1000_pkt.yaml b/scripts/stl/yaml/burst_1000_pkt.yaml new file mode 100644 index 00000000..99a121e2 --- /dev/null +++ b/scripts/stl/yaml/burst_1000_pkt.yaml @@ -0,0 +1,33 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: stream0 + next: stream1 + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap + mode: + type: single_burst + pps: 100 + total_pkts : 10000 + +- name: stream1 + next: stream2 + stream: + self_start: False + packet: + pcap: udp_64B_no_crc.pcap + mode: + type: single_burst + pps: 100 + total_pkts : 10000 + +- name: stream2 + stream: + self_start: False + packet: + pcap: udp_64B_no_crc.pcap + mode: + type: single_burst + pps: 100 + total_pkts : 10000 diff --git a/scripts/stl/yaml/burst_1pkt_1burst.yaml b/scripts/stl/yaml/burst_1pkt_1burst.yaml new file mode 100644 index 00000000..76c411a8 --- /dev/null +++ b/scripts/stl/yaml/burst_1pkt_1burst.yaml @@ -0,0 +1,11 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: stream0 + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap + mode: + type: single_burst + pps: 100 + total_pkts : 100 diff --git a/scripts/stl/yaml/burst_1pkt_vm.yaml b/scripts/stl/yaml/burst_1pkt_vm.yaml new file mode 100644 index 00000000..fed39488 --- /dev/null +++ b/scripts/stl/yaml/burst_1pkt_vm.yaml @@ -0,0 +1,34 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: single_burst + total_pkts: 100 + pps: 100 + + vm: + instructions: [ + { + "init_value" : 100, + "max_value" : 5000, + "min_value" : 100, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "step" : 1, + "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" + diff --git a/scripts/stl/yaml/imix_1pkt.yaml b/scripts/stl/yaml/imix_1pkt.yaml new file mode 100644 index 00000000..46552c82 --- /dev/null +++ b/scripts/stl/yaml/imix_1pkt.yaml @@ -0,0 +1,11 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + diff --git a/scripts/stl/yaml/imix_1pkt_2.yaml b/scripts/stl/yaml/imix_1pkt_2.yaml new file mode 100644 index 00000000..014ffdbc --- /dev/null +++ b/scripts/stl/yaml/imix_1pkt_2.yaml @@ -0,0 +1,42 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: udp_64B_1 + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + flow_stats: [] + vm: [] +- name: udp_64B_2 + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + flow_stats: [] + vm: [] +- name: udp_64B_3 + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + flow_stats: [] + vm: [] +- name: udp_64B_4 + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + flow_stats: [] + vm: [] diff --git a/scripts/stl/yaml/imix_1pkt_tuple_gen.yaml b/scripts/stl/yaml/imix_1pkt_tuple_gen.yaml new file mode 100644 index 00000000..5ca232c4 --- /dev/null +++ b/scripts/stl/yaml/imix_1pkt_tuple_gen.yaml @@ -0,0 +1,42 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + + # program that define 1M flows with IP range 16.0.0.1-16.0.0.254 + # we will create a script that do that for you + # this is the low level instructions + vm: + instructions: + - type : "tuple_flow_var" # name of the command + name : "tuple_gen" # tuple_gen.ip tuple_gen.port can be used + + ip_min : 0x10000001 # min ip 16.0.0.1 + ip_max : 0x100000fe # max ip 16.0.0.254 + + port_min : 1025 # min port 1025 + port_max : 65500 # max port 65500 + + limit_flows : 1000000 # number of flows + flags : 0 # 1 - for unlimited + + - type : "write_flow_var" # command name + name : "tuple_gen.ip" # varible to write + add_value : 0 # no need to add value + is_big_endian : true # write as big edian + pkt_offset : 26 # write tuple_gen.ip into ipv4.src_ip + + - type : "fix_checksum_ipv4" # fix ipv4 header checksum + pkt_offset : 14 # offset of ipv4 header + + - type : "write_flow_var" # command name + name : "tuple_gen.port" # varible to write + add_value : 0 # no need to add value + is_big_endian : true # write as big edian + pkt_offset : 34 # write tuple_gen.port into udp.src_port diff --git a/scripts/stl/yaml/imix_1pkt_vm.yaml b/scripts/stl/yaml/imix_1pkt_vm.yaml new file mode 100644 index 00000000..5d9da5af --- /dev/null +++ b/scripts/stl/yaml/imix_1pkt_vm.yaml @@ -0,0 +1,34 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + flow_stats: [] + + vm: + instructions: [ + { + "init_value" : 500, + "max_value" : 1000, + "min_value" : 500, + "name" : "l3_src", + "op" : "inc", + "size" : 4, + "step" : 1, + "type" : "flow_var" + }, + { + "add_value" : 1, + "is_big_endian" : false, + "name" : "l3_src", + "pkt_offset" : 34, + "type" : "write_flow_var" + } + ] + split_by_var: "l3_src" + diff --git a/scripts/stl/yaml/imix_1pkt_vm_minus.yaml b/scripts/stl/yaml/imix_1pkt_vm_minus.yaml new file mode 100644 index 00000000..a8bd3b0f --- /dev/null +++ b/scripts/stl/yaml/imix_1pkt_vm_minus.yaml @@ -0,0 +1,34 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + flow_stats: [] + + vm: + instructions: [ + { + "init_value" : 1000, + "max_value" : 75000, + "min_value" : 1000, + "name" : "l3_src", + "op" : "inc", + "step": 1, + "size" : 4, + "type" : "flow_var" + }, + { + "add_value" : 1, + "is_big_endian" : false, + "name" : "l3_src", + "pkt_offset" : 34, + "type" : "write_flow_var" + } + ] + split_by_var: "l3_src" + diff --git a/scripts/stl/yaml/imix_2pkt.yaml b/scripts/stl/yaml/imix_2pkt.yaml new file mode 100644 index 00000000..406c28b4 --- /dev/null +++ b/scripts/stl/yaml/imix_2pkt.yaml @@ -0,0 +1,18 @@ +### Two-stream UDP packets, 64B and 594B ### +############################################ +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 +- name: udp_594B + stream: + self_start: True + packet: + pcap: udp_594B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 diff --git a/scripts/stl/yaml/imix_3pkt.yaml b/scripts/stl/yaml/imix_3pkt.yaml new file mode 100644 index 00000000..d8c3ea44 --- /dev/null +++ b/scripts/stl/yaml/imix_3pkt.yaml @@ -0,0 +1,28 @@ +### Three-stream UDP packets, 64B, 594B and 1518B ### +##################################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 28 +- name: udp_594B + stream: + isg: 50.0 + self_start: True + packet: + pcap: udp_594B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 20 +- name: udp_1518B + stream: + isg: 100.0 + self_start: True + packet: + pcap: udp_1518B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 4 diff --git a/scripts/stl/yaml/imix_3pkt_vm.yaml b/scripts/stl/yaml/imix_3pkt_vm.yaml new file mode 100644 index 00000000..3e7cd0ed --- /dev/null +++ b/scripts/stl/yaml/imix_3pkt_vm.yaml @@ -0,0 +1,96 @@ +### Three-stream UDP packets, 64B, 594B and 1518B ### +##################################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: single_burst + total_pkts: 100 + pps: 100 + + vm: + instructions: [ + { + "init_value" : 100, + "max_value" : 5000, + "min_value" : 100, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "step" : 1, + "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: + isg: 50.0 + self_start: True + packet: + pcap: udp_594B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 20 + vm: + instructions: [ + { + "init_value" : 100, + "max_value" : 5000, + "min_value" : 100, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "step" : 1, + "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: + isg: 100.0 + self_start: True + packet: + pcap: udp_1518B_no_crc.pcap # pcap should not include CRC + mode: + type: single_burst + total_pkts: 100 + pps: 4 + vm: + instructions: [ + { + "init_value" : 100, + "max_value" : 5000, + "min_value" : 100, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "step" : 1, + "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" diff --git a/scripts/stl/yaml/ipv4_udp_9000.pcap b/scripts/stl/yaml/ipv4_udp_9000.pcap Binary files differnew file mode 100644 index 00000000..86385997 --- /dev/null +++ b/scripts/stl/yaml/ipv4_udp_9000.pcap diff --git a/scripts/stl/yaml/ipv4_udp_9k.pcap b/scripts/stl/yaml/ipv4_udp_9k.pcap Binary files differnew file mode 100644 index 00000000..c5466f78 --- /dev/null +++ b/scripts/stl/yaml/ipv4_udp_9k.pcap diff --git a/scripts/stl/yaml/ipv4_udp_9k_burst_10.pcap b/scripts/stl/yaml/ipv4_udp_9k_burst_10.pcap Binary files differnew file mode 100644 index 00000000..bb71ca79 --- /dev/null +++ b/scripts/stl/yaml/ipv4_udp_9k_burst_10.pcap diff --git a/scripts/stl/yaml/syn_packet.pcap b/scripts/stl/yaml/syn_packet.pcap Binary files differnew file mode 100644 index 00000000..93325547 --- /dev/null +++ b/scripts/stl/yaml/syn_packet.pcap diff --git a/scripts/stl/yaml/udp_1518B_no_crc.pcap b/scripts/stl/yaml/udp_1518B_no_crc.pcap Binary files differnew file mode 100644 index 00000000..145a44ad --- /dev/null +++ b/scripts/stl/yaml/udp_1518B_no_crc.pcap diff --git a/scripts/stl/yaml/udp_594B_no_crc.pcap b/scripts/stl/yaml/udp_594B_no_crc.pcap Binary files differnew file mode 100644 index 00000000..5cde2f7c --- /dev/null +++ b/scripts/stl/yaml/udp_594B_no_crc.pcap diff --git a/scripts/stl/yaml/udp_64B_no_crc.pcap b/scripts/stl/yaml/udp_64B_no_crc.pcap Binary files differnew file mode 100644 index 00000000..ab3f985b --- /dev/null +++ b/scripts/stl/yaml/udp_64B_no_crc.pcap |