Merge "Add vBNG test cases stats processing functionality"
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_heat_rfc2544_ipv4_1rule_1flow_trex_correlated_scale_10.yaml
1 # Copyright (c) 2017-2019 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 {% set framesize = framesize or "{64B: 100}" %}
15 ---
16 schema: yardstick:task:0.1
17 scenarios:
18   - type: NSPerf
19     traffic_profile: ../../traffic_profiles/ipv4_throughput-10.yaml
20     topology: vfw-tg-topology-3node-10.yaml
21     nodes:
22       tg__0: tg_0.yardstick
23       tg__1: tg_1.yardstick
24       vnf__0: vnf_0.yardstick
25       vnf__1: vnf_1.yardstick
26       vnf__2: vnf_2.yardstick
27       vnf__3: vnf_3.yardstick
28       vnf__4: vnf_4.yardstick
29       vnf__5: vnf_5.yardstick
30       vnf__6: vnf_6.yardstick
31       vnf__7: vnf_7.yardstick
32       vnf__8: vnf_8.yardstick
33       vnf__9: vnf_9.yardstick
34     options:
35       framesize:
36         uplink: {{ framesize }}
37         downlink: {{ framesize }}
38       flow:
39         src_ip:
40           - {'tg__0': 'xe0'}
41           - {'tg__0': 'xe1'}
42           - {'tg__0': 'xe2'}
43           - {'tg__0': 'xe3'}
44           - {'tg__0': 'xe4'}
45           - {'tg__0': 'xe5'}
46           - {'tg__0': 'xe6'}
47           - {'tg__0': 'xe7'}
48           - {'tg__0': 'xe8'}
49           - {'tg__0': 'xe9'}
50         dst_ip:
51           - {'tg__1': 'xe0'}
52           - {'tg__1': 'xe1'}
53           - {'tg__1': 'xe2'}
54           - {'tg__1': 'xe3'}
55           - {'tg__1': 'xe4'}
56           - {'tg__1': 'xe5'}
57           - {'tg__1': 'xe6'}
58           - {'tg__1': 'xe7'}
59           - {'tg__1': 'xe8'}
60           - {'tg__1': 'xe9'}
61         count: 1
62       traffic_type: 4
63       rfc2544:
64         allowed_drop_rate: 0.0001 - 0.0001
65         correlated_traffic: true
66       vnf__0:
67         rules: acl_1rule.yaml
68         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
69       vnf__1:
70         rules: acl_1rule.yaml
71         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
72       vnf__2:
73         rules: acl_1rule.yaml
74         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
75       vnf__3:
76         rules: acl_1rule.yaml
77         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
78       vnf__4:
79         rules: acl_1rule.yaml
80         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
81       vnf__5:
82         rules: acl_1rule.yaml
83         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
84       vnf__6:
85         rules: acl_1rule.yaml
86         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
87       vnf__7:
88         rules: acl_1rule.yaml
89         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
90       vnf__8:
91         rules: acl_1rule.yaml
92         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
93       vnf__9:
94         rules: acl_1rule.yaml
95         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
96     runner:
97       type: Iteration
98       iterations: 10
99       interval: 35
100 context:
101   # put node context first, so we don't HEAT deploy if node has errors
102   name: yardstick
103   image: yardstick-samplevnfs
104   flavor:
105     vcpus: 10
106     ram: 20480
107     disk: 6
108     extra_specs:
109       hw:cpu_sockets: 1
110       hw:cpu_cores: 10
111       hw:cpu_threads: 1
112   user: ubuntu
113   placement_groups:
114     pgrp1:
115       policy: "availability"
116   servers:
117     tg_0:
118       floating_ip: true
119       placement: "pgrp1"
120       network_ports:
121         mgmt:
122           - mgmt
123         uplink_0:
124           - xe0
125         uplink_1:
126           - xe1
127         uplink_2:
128           - xe2
129         uplink_3:
130           - xe3
131         uplink_4:
132           - xe4
133         uplink_5:
134           - xe5
135         uplink_6:
136           - xe6
137         uplink_7:
138           - xe7
139         uplink_8:
140           - xe8
141         uplink_9:
142           - xe9
143     tg_1:
144       floating_ip: true
145       placement: "pgrp1"
146       network_ports:
147         mgmt:
148           - mgmt
149         downlink_0:
150           - xe0
151         downlink_1:
152           - xe1
153         downlink_2:
154           - xe2
155         downlink_3:
156           - xe3
157         downlink_4:
158           - xe4
159         downlink_5:
160           - xe5
161         downlink_6:
162           - xe6
163         downlink_7:
164           - xe7
165         downlink_8:
166           - xe8
167         downlink_9:
168           - xe9
169     vnf_0:
170       floating_ip: true
171       placement: "pgrp1"
172       network_ports:
173         mgmt:
174           - mgmt
175         uplink_0:
176           - xe0
177         downlink_0:
178           - xe1
179     vnf_1:
180       floating_ip: true
181       placement: "pgrp1"
182       network_ports:
183         mgmt:
184           - mgmt
185         uplink_1:
186           - xe0
187         downlink_1:
188           - xe1
189     vnf_2:
190       floating_ip: true
191       placement: "pgrp1"
192       network_ports:
193         mgmt:
194           - mgmt
195         uplink_2:
196           - xe0
197         downlink_2:
198           - xe1
199     vnf_3:
200       floating_ip: true
201       placement: "pgrp1"
202       network_ports:
203         mgmt:
204           - mgmt
205         uplink_3:
206           - xe0
207         downlink_3:
208           - xe1
209     vnf_4:
210       floating_ip: true
211       placement: "pgrp1"
212       network_ports:
213         mgmt:
214           - mgmt
215         uplink_4:
216           - xe0
217         downlink_4:
218           - xe1
219     vnf_5:
220       floating_ip: true
221       placement: "pgrp1"
222       network_ports:
223         mgmt:
224           - mgmt
225         uplink_5:
226           - xe0
227         downlink_5:
228           - xe1
229     vnf_6:
230       floating_ip: true
231       placement: "pgrp1"
232       network_ports:
233         mgmt:
234           - mgmt
235         uplink_6:
236           - xe0
237         downlink_6:
238           - xe1
239     vnf_7:
240       floating_ip: true
241       placement: "pgrp1"
242       network_ports:
243         mgmt:
244           - mgmt
245         uplink_7:
246           - xe0
247         downlink_7:
248           - xe1
249     vnf_8:
250       floating_ip: true
251       placement: "pgrp1"
252       network_ports:
253         mgmt:
254           - mgmt
255         uplink_8:
256           - xe0
257         downlink_8:
258           - xe1
259     vnf_9:
260       floating_ip: true
261       placement: "pgrp1"
262       network_ports:
263         mgmt:
264           - mgmt
265         uplink_9:
266           - xe0
267         downlink_9:
268           - xe1
269   networks:
270     mgmt:
271       cidr: '10.0.1.0/24'
272     uplink_0:
273       cidr: '10.1.0.0/24'
274       gateway_ip: 'null'
275       port_security_enabled: False
276       enable_dhcp: 'false'
277     downlink_0:
278       cidr: '10.1.1.0/24'
279       gateway_ip: 'null'
280       port_security_enabled: False
281       enable_dhcp: 'false'
282     uplink_1:
283       cidr: '10.2.0.0/24'
284       gateway_ip: 'null'
285       port_security_enabled: False
286       enable_dhcp: 'false'
287     downlink_1:
288       cidr: '10.2.1.0/24'
289       gateway_ip: 'null'
290       port_security_enabled: False
291       enable_dhcp: 'false'
292     uplink_2:
293       cidr: '10.3.0.0/24'
294       gateway_ip: 'null'
295       port_security_enabled: False
296       enable_dhcp: 'false'
297     downlink_2:
298       cidr: '10.3.1.0/24'
299       gateway_ip: 'null'
300       port_security_enabled: False
301       enable_dhcp: 'false'
302     uplink_3:
303       cidr: '10.4.0.0/24'
304       gateway_ip: 'null'
305       port_security_enabled: False
306       enable_dhcp: 'false'
307     downlink_3:
308       cidr: '10.4.1.0/24'
309       gateway_ip: 'null'
310       port_security_enabled: False
311       enable_dhcp: 'false'
312     uplink_4:
313       cidr: '10.5.0.0/24'
314       gateway_ip: 'null'
315       port_security_enabled: False
316       enable_dhcp: 'false'
317     downlink_4:
318       cidr: '10.5.1.0/24'
319       gateway_ip: 'null'
320       port_security_enabled: False
321       enable_dhcp: 'false'
322     uplink_5:
323       cidr: '10.6.0.0/24'
324       gateway_ip: 'null'
325       port_security_enabled: False
326       enable_dhcp: 'false'
327     downlink_5:
328       cidr: '10.6.1.0/24'
329       gateway_ip: 'null'
330       port_security_enabled: False
331       enable_dhcp: 'false'
332     uplink_6:
333       cidr: '10.7.0.0/24'
334       gateway_ip: 'null'
335       port_security_enabled: False
336       enable_dhcp: 'false'
337     downlink_6:
338       cidr: '10.7.1.0/24'
339       gateway_ip: 'null'
340       port_security_enabled: False
341       enable_dhcp: 'false'
342     uplink_7:
343       cidr: '10.8.0.0/24'
344       gateway_ip: 'null'
345       port_security_enabled: False
346       enable_dhcp: 'false'
347     downlink_7:
348       cidr: '10.8.1.0/24'
349       gateway_ip: 'null'
350       port_security_enabled: False
351       enable_dhcp: 'false'
352     uplink_8:
353       cidr: '10.9.0.0/24'
354       gateway_ip: 'null'
355       port_security_enabled: False
356       enable_dhcp: 'false'
357     downlink_8:
358       cidr: '10.9.1.0/24'
359       gateway_ip: 'null'
360       port_security_enabled: False
361       enable_dhcp: 'false'
362     uplink_9:
363       cidr: '10.10.0.0/24'
364       gateway_ip: 'null'
365       port_security_enabled: False
366       enable_dhcp: 'false'
367     downlink_9:
368       cidr: '10.10.1.0/24'
369       gateway_ip: 'null'
370       port_security_enabled: False
371       enable_dhcp: 'false'