Merge "Add NSB test descriptors for vIPSEC testcase"
[yardstick.git] / samples / vnf_samples / traffic_profiles / ixia_ipv4_latency_vbng_scale_up.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 ports = get(extra_args, 'access_vports_num')|int %}
17 schema: "nsb:traffic_profile:0.1"
18
19 # This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
20
21 name:            rfc2544
22 description:     Traffic profile to run RFC2544 latency
23 traffic_profile:
24   traffic_type : IXIARFC2544PppoeScenarioProfile # defines traffic behavior - constant or look for highest possible throughput
25   frame_rate : 100%  # pc of linerate
26   duration: {{ duration }}
27   enable_latency: True
28
29 {% for i in range(ports|int) %}
30 uplink_{{ i }}:
31       ipv4:
32         id: {{ (i * 2) + 1 }}
33         outer_l2:
34           framesize:
35             64B: "{{get(imix, 'imix.uplink.64B', '0') }}"
36             68B: "{{get(imix, 'imix.uplink.68B', '0') }}"
37             70B: "{{get(imix, 'imix.uplink.70B', '0') }}"
38             128B: "{{get(imix, 'imix.uplink.128B', '0') }}"
39             256B: "{{get(imix, 'imix.uplink.256B', '0') }}"
40             373B: "{{get(imix, 'imix.uplink.373B', '0') }}"
41             512B: "{{get(imix, 'imix.uplink.512B', '0') }}"
42             570B: "{{get(imix, 'imix.uplink.570B', '0') }}"
43             932B: "{{get(imix, 'imix.uplink.932B', '0') }}"
44             940B: "{{get(imix, 'imix.uplink.940B', '0') }}"
45             1024B: "{{get(imix, 'imix.uplink.1024B', '0') }}"
46             1280B: "{{get(imix, 'imix.uplink.1280B', '0') }}"
47             1400B: "{{get(imix, 'imix.uplink.1400B', '0') }}"
48             1470B: "{{get(imix, 'imix.uplink.1470B', '0') }}"
49             1500B: "{{get(imix, 'imix.uplink.1500B', '0') }}"
50             1518B: "{{get(imix, 'imix.uplink.1518B', '0') }}"
51
52         outer_l3v4:
53           priority:
54             {% if priority %}
55             {{ priority }}
56             {% else %}
57             tos:
58               precedence: [0, 4, 7]
59             {% endif %}
60 downlink_{{ i }}:
61       ipv4:
62         id: {{ (i * 2) + 2 }}
63         outer_l2:
64           framesize:
65             64B: "{{get(imix, 'imix.downlink.64B', '0') }}"
66             68B: "{{get(imix, 'imix.downlink.68B', '0') }}"
67             70B: "{{get(imix, 'imix.downlink.70B', '0') }}"
68             128B: "{{get(imix, 'imix.downlink.128B', '0') }}"
69             256B: "{{get(imix, 'imix.downlink.256B', '0') }}"
70             373B: "{{get(imix, 'imix.downlink.373B', '0') }}"
71             512B: "{{get(imix, 'imix.downlink.512B', '0') }}"
72             570B: "{{get(imix, 'imix.downlink.570B', '0') }}"
73             932B: "{{get(imix, 'imix.downlink.932B', '0') }}"
74             940B: "{{get(imix, 'imix.downlink.940B', '0') }}"
75             1024B: "{{get(imix, 'imix.downlink.1024B', '0') }}"
76             1280B: "{{get(imix, 'imix.downlink.1280B', '0') }}"
77             1400B: "{{get(imix, 'imix.downlink.1400B', '0') }}"
78             1470B: "{{get(imix, 'imix.downlink.1470B', '0') }}"
79             1500B: "{{get(imix, 'imix.downlink.1500B', '0') }}"
80             1518B: "{{get(imix, 'imix.downlink.1518B', '0') }}"
81
82         outer_l3v4:
83           priority:
84             {% if priority %}
85             {{ priority }}
86             {% else %}
87             tos:
88               precedence: [0, 4, 7]
89             {% endif %}
90 {% endfor %}