diff options
author | imarom <imarom@cisco.com> | 2015-12-15 11:42:59 -0500 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-12-15 11:42:59 -0500 |
commit | 31b92c62f1ce84ba44c9fdf6c2f12ae51655f86c (patch) | |
tree | f81a53dafab54ad07e37b60e5e08db71e0d9172f /scripts | |
parent | 68bf754b96a84c8a2a32bffab30189f8c8e9ad1b (diff) |
simple playground YAML file for VM
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/stl/imix_1pkt_vm.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/stl/imix_1pkt_vm.yaml b/scripts/stl/imix_1pkt_vm.yaml new file mode 100644 index 00000000..06517251 --- /dev/null +++ b/scripts/stl/imix_1pkt_vm.yaml @@ -0,0 +1,31 @@ +### 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: [ + { + "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" + } + + ] |