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 vports = get(extra_args, 'vports', '2') %}
18 schema: "nsb:traffic_profile:0.1"
20 # This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
23 description: Traffic profile to run RFC2544 latency with L3 support
25 traffic_type : IXIARFC2544Profile # defines traffic behavior - constant or look for highest possible throughput
26 frame_rate : 100% # pc of linerate
27 duration: {{ duration }}
30 {% for vport in range(vports|int) %}
33 id: {{ (vport * 2) + 1 }}
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') }}"
50 id: {{ (vport * 2) + 2 }}
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') }}"