Add cli option framesize for acl vnf
[yardstick.git] / samples / vnf_samples / nsut / cgnapt / tc_heat_rfc2544_ipv4_1flow_trex_correlated_scale_10.yaml
1 # Copyright (c) 2016-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_cgnapt-10.yaml
20     topology: cgnapt-vnf-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         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
68         napt: 'dynamic'
69       vnf__1:
70         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
71         napt: 'dynamic'
72       vnf__2:
73         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
74         napt: 'dynamic'
75       vnf__3:
76         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
77         napt: 'dynamic'
78       vnf__4:
79         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
80         napt: 'dynamic'
81       vnf__5:
82         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
83         napt: 'dynamic'
84       vnf__6:
85         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
86         napt: 'dynamic'
87       vnf__7:
88         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
89         napt: 'dynamic'
90       vnf__8:
91         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
92         napt: 'dynamic'
93       vnf__9:
94         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
95         napt: 'dynamic'
96     runner:
97       type: Iteration
98       iterations: 10
99       interval: 35
100 context:
101   name: yardstick
102   image: yardstick-samplevnfs
103   flavor:
104     vcpus: 10
105     ram: 10240
106     disk: 6
107     extra_specs:
108       hw:cpu_sockets: 1
109       hw:cpu_cores: 10
110       hw:cpu_threads: 1
111   user: ubuntu
112   placement_groups:
113     pgrp1:
114       policy: "availability"
115   servers:
116     tg_0:
117       floating_ip: true
118       placement: "pgrp1"
119       network_ports:
120         mgmt:
121           - mgmt
122         uplink_0:
123           - xe0
124         uplink_1:
125           - xe1
126         uplink_2:
127           - xe2
128         uplink_3:
129           - xe3
130         uplink_4:
131           - xe4
132         uplink_5:
133           - xe5
134         uplink_6:
135           - xe6
136         uplink_7:
137           - xe7
138         uplink_8:
139           - xe8
140         uplink_9:
141           - xe9
142     tg_1:
143       floating_ip: true
144       placement: "pgrp1"
145       network_ports:
146         mgmt:
147           - mgmt
148         downlink_0:
149           - xe0
150         downlink_1:
151           - xe1
152         downlink_2:
153           - xe2
154         downlink_3:
155           - xe3
156         downlink_4:
157           - xe4
158         downlink_5:
159           - xe5
160         downlink_6:
161           - xe6
162         downlink_7:
163           - xe7
164         downlink_8:
165           - xe8
166         downlink_9:
167           - xe9
168     vnf_0:
169       floating_ip: true
170       placement: "pgrp1"
171       network_ports:
172         mgmt:
173           - mgmt
174         uplink_0:
175           - xe0
176         downlink_0:
177           - xe1
178     vnf_1:
179       floating_ip: true
180       placement: "pgrp1"
181       network_ports:
182         mgmt:
183           - mgmt
184         uplink_1:
185           - xe0
186         downlink_1:
187           - xe1
188     vnf_2:
189       floating_ip: true
190       placement: "pgrp1"
191       network_ports:
192         mgmt:
193           - mgmt
194         uplink_2:
195           - xe0
196         downlink_2:
197           - xe1
198     vnf_3:
199       floating_ip: true
200       placement: "pgrp1"
201       network_ports:
202         mgmt:
203           - mgmt
204         uplink_3:
205           - xe0
206         downlink_3:
207           - xe1
208     vnf_4:
209       floating_ip: true
210       placement: "pgrp1"
211       network_ports:
212         mgmt:
213           - mgmt
214         uplink_4:
215           - xe0
216         downlink_4:
217           - xe1
218     vnf_5:
219       floating_ip: true
220       placement: "pgrp1"
221       network_ports:
222         mgmt:
223           - mgmt
224         uplink_5:
225           - xe0
226         downlink_5:
227           - xe1
228     vnf_6:
229       floating_ip: true
230       placement: "pgrp1"
231       network_ports:
232         mgmt:
233           - mgmt
234         uplink_6:
235           - xe0
236         downlink_6:
237           - xe1
238     vnf_7:
239       floating_ip: true
240       placement: "pgrp1"
241       network_ports:
242         mgmt:
243           - mgmt
244         uplink_7:
245           - xe0
246         downlink_7:
247           - xe1
248     vnf_8:
249       floating_ip: true
250       placement: "pgrp1"
251       network_ports:
252         mgmt:
253           - mgmt
254         uplink_8:
255           - xe0
256         downlink_8:
257           - xe1
258     vnf_9:
259       floating_ip: true
260       placement: "pgrp1"
261       network_ports:
262         mgmt:
263           - mgmt
264         uplink_9:
265           - xe0
266         downlink_9:
267           - xe1
268   networks:
269     mgmt:
270       cidr: '10.0.1.0/24'
271     uplink_0:
272       cidr: '10.1.0.0/24'
273       gateway_ip: 'null'
274       port_security_enabled: False
275       enable_dhcp: 'false'
276     downlink_0:
277       cidr: '10.1.1.0/24'
278       gateway_ip: 'null'
279       port_security_enabled: False
280       enable_dhcp: 'false'
281     uplink_1:
282       cidr: '10.2.0.0/24'
283       gateway_ip: 'null'
284       port_security_enabled: False
285       enable_dhcp: 'false'
286     downlink_1:
287       cidr: '10.2.1.0/24'
288       gateway_ip: 'null'
289       port_security_enabled: False
290       enable_dhcp: 'false'
291     uplink_2:
292       cidr: '10.3.0.0/24'
293       gateway_ip: 'null'
294       port_security_enabled: False
295       enable_dhcp: 'false'
296     downlink_2:
297       cidr: '10.3.1.0/24'
298       gateway_ip: 'null'
299       port_security_enabled: False
300       enable_dhcp: 'false'
301     uplink_3:
302       cidr: '10.4.0.0/24'
303       gateway_ip: 'null'
304       port_security_enabled: False
305       enable_dhcp: 'false'
306     downlink_3:
307       cidr: '10.4.1.0/24'
308       gateway_ip: 'null'
309       port_security_enabled: False
310       enable_dhcp: 'false'
311     uplink_4:
312       cidr: '10.5.0.0/24'
313       gateway_ip: 'null'
314       port_security_enabled: False
315       enable_dhcp: 'false'
316     downlink_4:
317       cidr: '10.5.1.0/24'
318       gateway_ip: 'null'
319       port_security_enabled: False
320       enable_dhcp: 'false'
321     uplink_5:
322       cidr: '10.6.0.0/24'
323       gateway_ip: 'null'
324       port_security_enabled: False
325       enable_dhcp: 'false'
326     downlink_5:
327       cidr: '10.6.1.0/24'
328       gateway_ip: 'null'
329       port_security_enabled: False
330       enable_dhcp: 'false'
331     uplink_6:
332       cidr: '10.7.0.0/24'
333       gateway_ip: 'null'
334       port_security_enabled: False
335       enable_dhcp: 'false'
336     downlink_6:
337       cidr: '10.7.1.0/24'
338       gateway_ip: 'null'
339       port_security_enabled: False
340       enable_dhcp: 'false'
341     uplink_7:
342       cidr: '10.8.0.0/24'
343       gateway_ip: 'null'
344       port_security_enabled: False
345       enable_dhcp: 'false'
346     downlink_7:
347       cidr: '10.8.1.0/24'
348       gateway_ip: 'null'
349       port_security_enabled: False
350       enable_dhcp: 'false'
351     uplink_8:
352       cidr: '10.9.0.0/24'
353       gateway_ip: 'null'
354       port_security_enabled: False
355       enable_dhcp: 'false'
356     downlink_8:
357       cidr: '10.9.1.0/24'
358       gateway_ip: 'null'
359       port_security_enabled: False
360       enable_dhcp: 'false'
361     uplink_9:
362       cidr: '10.10.0.0/24'
363       gateway_ip: 'null'
364       port_security_enabled: False
365       enable_dhcp: 'false'
366     downlink_9:
367       cidr: '10.10.1.0/24'
368       gateway_ip: 'null'
369       port_security_enabled: False
370       enable_dhcp: 'false'