summaryrefslogtreecommitdiffstats
path: root/scripts/stl/yaml/imix_1pkt_vm.yaml
blob: 5d9da5af7b1e9dccb956d79bd16aedd129f3e3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"