Merge "[docs][userguide] Update formatting on userguide chapters 12-14"
[yardstick.git] / samples / vnf_samples / traffic_profiles / ixia_ipv4_latency_L3.yaml
1 # Copyright (c) 2018 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15
16 {% set vports = get(extra_args, 'vports', '2') %}
17 ---
18 schema: "nsb:traffic_profile:0.1"
19
20 # This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
21
22 name:            rfc2544
23 description:     Traffic profile to run RFC2544 latency with L3 support
24 traffic_profile:
25   traffic_type : IXIARFC2544Profile # defines traffic behavior - constant or look for highest possible throughput
26   frame_rate : 100  # pc of linerate
27   duration: {{ duration }}
28   enable_latency: True
29
30 {% for vport in range(vports|int) %}
31 uplink_{{ vport }}:
32   ipv4:
33     id: {{ (vport * 2) + 1 }}
34     outer_l2:
35       framesize:
36         64B: "{{get(imix, 'imix.uplink.64B', '0') }}"
37         128B: "{{get(imix, 'imix.uplink.128B', '0') }}"
38         256B: "{{get(imix, 'imix.uplink.256B', '0') }}"
39         373b: "{{get(imix, 'imix.uplink.373B', '0') }}"
40         512B: "{{get(imix, 'imix.uplink.512B', '0') }}"
41         570B: "{{get(imix, 'imix.uplink.570B', '0') }}"
42         1024B: "{{get(imix, 'imix.uplink.1024B', '0') }}"
43         1280B: "{{get(imix, 'imix.uplink.1280B', '0') }}"
44         1400B: "{{get(imix, 'imix.uplink.1400B', '0') }}"
45         1500B: "{{get(imix, 'imix.uplink.1500B', '0') }}"
46         1518B: "{{get(imix, 'imix.uplink.1518B', '0') }}"
47
48 downlink_{{vport}}:
49   ipv4:
50     id: {{ (vport * 2) + 2 }}
51     outer_l2:
52       framesize:
53         64B: "{{get(imix, 'imix.downlink.64B', '0') }}"
54         128B: "{{get(imix, 'imix.downlink.128B', '0') }}"
55         256B: "{{get(imix, 'imix.downlink.256B', '0') }}"
56         373b: "{{get(imix, 'imix.downlink.373B', '0') }}"
57         512B: "{{get(imix, 'imix.downlink.512B', '0') }}"
58         570B: "{{get(imix, 'imix.downlink.570B', '0') }}"
59         1024B: "{{get(imix, 'imix.downlink.1024B', '0') }}"
60         1280B: "{{get(imix, 'imix.downlink.1280B', '0') }}"
61         1400B: "{{get(imix, 'imix.downlink.1400B', '0') }}"
62         1500B: "{{get(imix, 'imix.downlink.1500B', '0') }}"
63         1518B: "{{get(imix, 'imix.downlink.1518B', '0') }}"
64 {% endfor %}