summaryrefslogtreecommitdiffstats
path: root/scripts/yaml/imix_1pkt_vm.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/yaml/imix_1pkt_vm.yaml')
-rw-r--r--scripts/yaml/imix_1pkt_vm.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/yaml/imix_1pkt_vm.yaml b/scripts/yaml/imix_1pkt_vm.yaml
new file mode 100644
index 00000000..21075fa2
--- /dev/null
+++ b/scripts/yaml/imix_1pkt_vm.yaml
@@ -0,0 +1,33 @@
+### Single stream UDP packet, 64B ###
+#####################################
+- name: udp_64B
+ stream:
+ self_start: True
+ packet:
+ binary: stl/udp_64B_no_crc.pcap # pcap should not include CRC
+ mode:
+ type: continuous
+ pps: 100
+ rx_stats: []
+
+ vm:
+ instructions: [
+ {
+ "init_value" : 500,
+ "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" : 30,
+ "type" : "write_flow_var"
+ }
+ ]
+ split_by_var: "l3_src"
+