summaryrefslogtreecommitdiffstats
path: root/scripts/stl/imix_3pkt_vm.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stl/imix_3pkt_vm.yaml')
-rw-r--r--scripts/stl/imix_3pkt_vm.yaml94
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