1 # Copyright (c) 2018-2019 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 schema: "nsb:traffic_profile:0.1"
18 # This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
21 description: Traffic profile to run RFC2544 latency
23 traffic_type : IXIARFC2544PppoeScenarioProfile # defines traffic behavior - constant or look for highest possible throughput
24 frame_rate : 12.5% # pc of linerate
25 duration: {{ duration }}
28 uplink_0: # traffic flow from xe0 to xe1
34 framesize: &uplink_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') }}"
53 priority: &uplink_precedence
60 downlink_0: # traffic flow from xe1 to xe0
66 framesize: &downlink_framesize
67 64B: "{{get(imix, 'imix.downlink.64B', '0') }}"
68 68B: "{{get(imix, 'imix.downlink.68B', '0') }}"
69 70B: "{{get(imix, 'imix.downlink.70B', '0') }}"
70 128B: "{{get(imix, 'imix.downlink.128B', '0') }}"
71 256B: "{{get(imix, 'imix.downlink.256B', '0') }}"
72 373B: "{{get(imix, 'imix.downlink.373B', '0') }}"
73 512B: "{{get(imix, 'imix.downlink.512B', '0') }}"
74 570B: "{{get(imix, 'imix.downlink.570B', '0') }}"
75 932B: "{{get(imix, 'imix.downlink.932B', '0') }}"
76 940B: "{{get(imix, 'imix.downlink.940B', '0') }}"
77 1024B: "{{get(imix, 'imix.downlink.1024B', '0') }}"
78 1280B: "{{get(imix, 'imix.downlink.1280B', '0') }}"
79 1400B: "{{get(imix, 'imix.downlink.1400B', '0') }}"
80 1470B: "{{get(imix, 'imix.downlink.1470B', '0') }}"
81 1500B: "{{get(imix, 'imix.downlink.1500B', '0') }}"
82 1518B: "{{get(imix, 'imix.downlink.1518B', '0') }}"
85 priority: &downlink_precedence
92 uplink_1: # traffic flow from xe0 to xe1
98 framesize: *uplink_framesize
101 priority: *uplink_precedence
102 downlink_1: # traffic flow from xe1 to xe0
108 framesize: *downlink_framesize
111 priority: *downlink_precedence
112 uplink_2: # traffic flow from xe0 to xe3
118 framesize: *uplink_framesize
121 priority: *uplink_precedence
122 downlink_2: # traffic flow from xe3 to xe0
128 framesize: *downlink_framesize
131 priority: *downlink_precedence
132 uplink_3: # traffic flow from xe0 to xe3
138 framesize: *uplink_framesize
141 priority: *uplink_precedence
142 downlink_3: # traffic flow from xe3 to xe0
148 framesize: *downlink_framesize
151 priority: *downlink_precedence
152 uplink_4: # traffic flow from xe2 to xe5
158 framesize: *uplink_framesize
161 priority: *uplink_precedence
162 downlink_4: # traffic flow from xe5 to xe2
168 framesize: *downlink_framesize
171 priority: *downlink_precedence
172 uplink_5: # traffic flow from xe2 to xe5
178 framesize: *uplink_framesize
181 priority: *uplink_precedence
182 downlink_5: # traffic flow from xe5 to xe2
188 framesize: *downlink_framesize
191 priority: *downlink_precedence
192 uplink_6: # traffic flow from xe2 to xe5
198 framesize: *uplink_framesize
201 priority: *uplink_precedence
202 downlink_6: # traffic flow from xe5 to xe2
208 framesize: *downlink_framesize
211 priority: *downlink_precedence
212 uplink_7: # traffic flow from xe2 to xe5
218 framesize: *uplink_framesize
221 priority: *uplink_precedence
222 downlink_7: # traffic flow from xe5 to xe2
228 framesize: *downlink_framesize
231 priority: *downlink_precedence
232 uplink_8: # traffic flow from xe4 to xe5
238 framesize: *uplink_framesize
241 priority: *uplink_precedence
242 downlink_8: # traffic flow from xe5 to xe4
248 framesize: *downlink_framesize
251 priority: *downlink_precedence
252 uplink_9: # traffic flow from xe4 to xe5
258 framesize: *uplink_framesize
261 priority: *uplink_precedence
262 downlink_9: # traffic flow from xe5 to xe4
268 framesize: *downlink_framesize
271 priority: *downlink_precedence
272 uplink_10: # traffic flow from xe4 to xe7
278 framesize: *uplink_framesize
281 priority: *uplink_precedence
282 downlink_10: # traffic flow from xe7 to xe4
288 framesize: *downlink_framesize
291 priority: *downlink_precedence
292 uplink_11: # traffic flow from xe4 to xe7
298 framesize: *uplink_framesize
301 priority: *uplink_precedence
302 downlink_11: # traffic flow from xe7 to xe4
308 framesize: *downlink_framesize
311 priority: *downlink_precedence
313 uplink_12: # traffic flow from xe6 to xe7
319 framesize: *uplink_framesize
322 priority: *uplink_precedence
323 downlink_12: # traffic flow from xe7 to xe6
329 framesize: *downlink_framesize
332 priority: *downlink_precedence
333 uplink_13: # traffic flow from xe6 to xe7
339 framesize: *uplink_framesize
342 priority: *uplink_precedence
343 downlink_13: # traffic flow from xe7 to xe6
349 framesize: *downlink_framesize
352 priority: *downlink_precedence
353 uplink_14: # traffic flow from xe6 to xe7
359 framesize: *uplink_framesize
362 priority: *uplink_precedence
363 downlink_14: # traffic flow from xe7 to xe6
369 framesize: *downlink_framesize
372 priority: *downlink_precedence
373 uplink_15: # traffic flow from xe6 to xe7
379 framesize: *uplink_framesize
382 priority: *uplink_precedence
383 downlink_15: # traffic flow from xe7 to xe6
389 framesize: *downlink_framesize
392 priority: *downlink_precedence