summaryrefslogtreecommitdiffstats
path: root/scripts/stl/imix_1pkt_vm2.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stl/imix_1pkt_vm2.yaml')
-rw-r--r--scripts/stl/imix_1pkt_vm2.yaml91
1 files changed, 91 insertions, 0 deletions
diff --git a/scripts/stl/imix_1pkt_vm2.yaml b/scripts/stl/imix_1pkt_vm2.yaml
new file mode 100644
index 00000000..e0a6b771
--- /dev/null
+++ b/scripts/stl/imix_1pkt_vm2.yaml
@@ -0,0 +1,91 @@
+### Single stream UDP packet, 64B ###
+#####################################
+- name: udp_64B
+ stream:
+ self_start: True
+ packet:
+ binary: stl/udp_594B_no_crc.pcap # pcap should not include CRC
+ mode:
+ type: continuous
+ pps: 100
+ rx_stats: []
+
+ vm: [
+ {
+ "init_value" : 0,
+ "max_value" : 1000,
+ "min_value" : 500,
+ "name" : "l3_src",
+ "op" : "inc",
+ "size" : 4,
+ "type" : "flow_var"
+ },
+ {
+ "add_value" : 1,
+ "is_big_endian" : false,
+ "name" : "l3_src",
+ "pkt_offset" : 34,
+ "type" : "write_flow_var"
+ }
+
+ ]
+
+- name: udp_64B
+ stream:
+ self_start: True
+ packet:
+ binary: stl/udp_594B_no_crc.pcap # pcap should not include CRC
+ mode:
+ type: continuous
+ pps: 100
+ rx_stats: []
+
+ vm: [
+ {
+ "init_value" : 0,
+ "max_value" : 1000,
+ "min_value" : 500,
+ "name" : "l3_src",
+ "op" : "inc",
+ "size" : 4,
+ "type" : "flow_var"
+ },
+ {
+ "add_value" : 1,
+ "is_big_endian" : false,
+ "name" : "l3_src",
+ "pkt_offset" : 34,
+ "type" : "write_flow_var"
+ }
+
+ ]
+
+- name: udp_64B
+ stream:
+ self_start: True
+ packet:
+ binary: stl/udp_594B_no_crc.pcap # pcap should not include CRC
+ mode:
+ type: continuous
+ pps: 100
+ rx_stats: []
+
+ vm: [
+ {
+ "init_value" : 0,
+ "max_value" : 1000,
+ "min_value" : 500,
+ "name" : "l3_src",
+ "op" : "inc",
+ "size" : 4,
+ "type" : "flow_var"
+ },
+ {
+ "add_value" : 1,
+ "is_big_endian" : false,
+ "name" : "l3_src",
+ "pkt_offset" : 34,
+ "type" : "write_flow_var"
+ }
+
+ ]