Reduce the number of iterations to ten in rally scenarios
[functest.git] / testcases / VIM / OpenStack / CI / rally_cert / scenario / opnfv-nova.yaml
1   NovaKeypair.boot_and_delete_server_with_keypair:
2     -
3       args:
4         {{ vm_params(image_name, flavor_name) }}
5         server_kwargs:
6             nics:
7               - net-id: {{ netid }}
8       context:
9         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
10         network:
11           networks_per_tenant: 1
12           start_cidr: "100.1.0.0/25"
13         quotas:
14           {{ unlimited_neutron() }}
15           {{ unlimited_nova(keypairs=true) }}
16         {% endcall %}
17       runner:
18         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
19       sla:
20         {{ no_failures_sla() }}
21
22   NovaKeypair.create_and_delete_keypair:
23     -
24       context:
25         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
26         quotas:
27           {{ unlimited_nova(keypairs=true) }}
28         {% endcall %}
29       runner:
30         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
31       sla:
32         {{ no_failures_sla() }}
33
34   NovaKeypair.create_and_list_keypairs:
35     -
36       context:
37         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
38         quotas:
39           {{ unlimited_nova(keypairs=true) }}
40         {% endcall %}
41       runner:
42         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
43       sla:
44         {{ no_failures_sla() }}
45
46   NovaServers.boot_and_bounce_server:
47     -
48       args:
49         actions:
50           -
51             hard_reboot: 1
52           -
53             soft_reboot: 1
54           -
55             stop_start: 1
56           -
57             rescue_unrescue: 1
58         {{ vm_params(image_name, flavor_name) }}
59         nics:
60           - net-id: {{ netid }}
61       context:
62         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
63         network:
64           networks_per_tenant: 1
65           start_cidr: "100.1.0.0/25"
66         quotas:
67           {{ unlimited_neutron() }}
68           {{ unlimited_nova() }}
69         {% endcall %}
70       runner:
71         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
72       sla:
73         {{ no_failures_sla() }}
74
75   NovaServers.boot_and_delete_server:
76     -
77       args:
78         {{ vm_params(image_name, flavor_name) }}
79         nics:
80           - net-id: {{ netid }}
81       context:
82         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
83         network:
84           networks_per_tenant: 1
85           start_cidr: "100.1.0.0/25"
86         quotas:
87           {{ unlimited_neutron() }}
88           {{ unlimited_nova() }}
89         {% endcall %}
90       runner:
91         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
92       sla:
93         {{ no_failures_sla() }}
94
95   NovaServers.boot_and_list_server:
96     -
97       args:
98         detailed: true
99         {{ vm_params(image_name, flavor_name) }}
100         nics:
101           - net-id: {{ netid }}
102       context:
103         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
104         network:
105           networks_per_tenant: 1
106           start_cidr: "100.1.0.0/25"
107         quotas:
108           {{ unlimited_neutron() }}
109           {{ unlimited_nova() }}
110         {% endcall %}
111       runner:
112         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
113       sla:
114         {{ no_failures_sla() }}
115
116   NovaServers.boot_and_rebuild_server:
117     -
118       args:
119         {{ vm_params(flavor=flavor_name) }}
120         from_image:
121           name: {{ image_name }}
122         to_image:
123           name: {{ image_name }}
124         nics:
125           - net-id: {{ netid }}
126       context:
127         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
128         network:
129           networks_per_tenant: 1
130           start_cidr: "100.1.0.0/25"
131         quotas:
132           {{ unlimited_neutron() }}
133           {{ unlimited_nova() }}
134         {% endcall %}
135       runner:
136         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
137       sla:
138         {{ no_failures_sla() }}
139
140   NovaServers.boot_server_from_volume_and_delete:
141     -
142       args:
143         {{ vm_params(image_name, flavor_name) }}
144         volume_size: 5
145         nics:
146           - net-id: {{ netid }}
147       context:
148         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
149         network:
150           networks_per_tenant: 1
151           start_cidr: "100.1.0.0/25"
152         quotas:
153           {{ unlimited_volumes() }}
154           {{ unlimited_neutron() }}
155           {{ unlimited_nova() }}
156         {% endcall %}
157       runner:
158         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
159       sla:
160         {{ no_failures_sla() }}
161
162   NovaServers.pause_and_unpause_server:
163     -
164       args:
165         {{ vm_params(image_name, flavor_name) }}
166         force_delete: false
167         nics:
168           - net-id: {{ netid }}
169       context:
170         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
171         network:
172           networks_per_tenant: 1
173           start_cidr: "100.1.0.0/25"
174         quotas:
175           {{ unlimited_neutron() }}
176           {{ unlimited_nova() }}
177         {% endcall %}
178       runner:
179         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
180       sla:
181         {{ no_failures_sla() }}
182
183   NovaServers.snapshot_server:
184     -
185       args:
186         {{ vm_params(image_name, flavor_name) }}
187         nics:
188           - net-id: {{ netid }}
189       context:
190         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
191         network:
192           networks_per_tenant: 1
193           start_cidr: "100.1.0.0/25"
194         quotas:
195           {{ unlimited_neutron() }}
196           {{ unlimited_nova() }}
197         {% endcall %}
198       runner:
199         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
200       sla:
201         {{ no_failures_sla() }}
202
203   NovaSecGroup.boot_and_delete_server_with_secgroups:
204     -
205       args:
206         {{ vm_params(image_name, flavor_name) }}
207         security_group_count: 10
208         rules_per_security_group: 10
209         nics:
210           - net-id: {{ netid }}
211       context:
212         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
213         network:
214           start_cidr: "100.1.0.0/25"
215         quotas:
216           {{ unlimited_nova() }}
217           {{ unlimited_neutron(secgroups=true) }}
218         {% endcall %}
219       runner:
220         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
221       sla:
222         {{ no_failures_sla() }}
223
224   NovaServers.boot_and_live_migrate_server:
225     - args:
226         {{ vm_params(image_name, flavor_name) }}
227         block_migration: false
228         nics:
229           - net-id: {{ netid }}
230       context:
231         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
232       runner:
233         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
234       sla:
235         {{ no_failures_sla() }}
236
237   NovaServers.boot_and_migrate_server:
238     - args:
239         {{ vm_params(image_name, flavor_name) }}
240         nics:
241           - net-id: {{ netid }}
242       context:
243         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
244       runner:
245         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
246       sla:
247         {{ no_failures_sla() }}
248
249   NovaServers.boot_server_from_volume:
250     -
251       args:
252         {{ vm_params(image_name, flavor_name) }}
253         volume_size: 10
254         nics:
255           - net-id: {{ netid }}
256       context:
257         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
258       runner:
259         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
260       sla:
261         {{ no_failures_sla() }}
262
263   NovaServers.boot_server:
264     -
265       args:
266         {{ vm_params(image_name, flavor_name) }}
267         nics:
268           - net-id: {{ netid }}
269       context:
270         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
271       runner:
272         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
273       sla:
274         {{ no_failures_sla() }}
275
276   NovaServers.boot_server_attach_created_volume_and_live_migrate:
277     -
278       args:
279         {{ vm_params(image_name, flavor_name) }}
280         size: 10
281         block_migration: false
282         boot_server_kwargs:
283             nics:
284               - net-id: {{ netid }}
285       context:
286         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
287       runner:
288         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
289       sla:
290         {{ no_failures_sla() }}
291
292   NovaServers.boot_server_from_volume_and_live_migrate:
293     - args:
294         {{ vm_params(image_name, flavor_name) }}
295         block_migration: false
296         volume_size: 10
297         force_delete: false
298         nics:
299           - net-id: {{ netid }}
300       context:
301         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
302       runner:
303         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
304       sla:
305         {{ no_failures_sla() }}
306
307   NovaSecGroup.create_and_delete_secgroups:
308     -
309       args:
310         security_group_count: 10
311         rules_per_security_group: 10
312       context:
313         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
314         quotas:
315           {{ unlimited_neutron(secgroups=true) }}
316         {% endcall %}
317       runner:
318         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
319       sla:
320         {{ no_failures_sla() }}
321
322   NovaSecGroup.create_and_list_secgroups:
323     -
324       args:
325         security_group_count: 10
326         rules_per_security_group: 10
327       context:
328         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
329         quotas:
330           {{ unlimited_neutron(secgroups=true) }}
331         {% endcall %}
332       runner:
333         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
334       sla:
335         {{ no_failures_sla() }}
336
337   NovaServers.list_servers:
338     -
339       args:
340         detailed: True
341       context:
342         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
343         servers:
344           {{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
345           servers_per_tenant: 2
346           auto_assign_nic: true
347         network: {}
348         {% endcall %}
349       runner:
350         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
351       sla:
352         {{ no_failures_sla() }}
353
354   NovaServers.resize_server:
355     -
356       args:
357         {{ vm_params(image_name, flavor_name) }}
358         to_flavor:
359           name: "m1.small"
360         confirm: true
361         force_delete: false
362         nics:
363           - net-id: {{ netid }}
364       context:
365         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
366       runner:
367         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
368       sla:
369         {{ no_failures_sla() }}