1 # Copyright (c) 2018 Intel Corporation
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 {% set ports = get(extra_args, 'access_vports_num')|int %}
17 schema: "nsb:traffic_profile:0.1"
19 # This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
22 description: Traffic profile to run RFC2544 latency
24 traffic_type : IXIARFC2544PppoeScenarioProfile # defines traffic behavior - constant or look for highest possible throughput
25 frame_rate : 100% # pc of linerate
26 duration: {{ duration }}
29 {% for i in range(ports|int) %}
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') }}"
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') }}"