Add new cinder scenarios for rally sanity/full
[functest-xtesting.git] / functest / opnfv_tests / openstack / rally / scenario / full / opnfv-cinder.yaml
1   CinderVolumes.create_and_attach_volume:
2     -
3       args:
4         {{ vm_params(image_name,flavor_name,1) }}
5         nics:
6           - net-id: {{ netid }}
7       context:
8         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
9         quotas:
10           {{ unlimited_volumes() }}
11         {% endcall %}
12       runner:
13         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
14       sla:
15         {{ no_failures_sla() }}
16
17   CinderVolumes.create_and_list_snapshots:
18     -
19       args:
20         detailed: true
21         force: false
22       context:
23         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
24         quotas:
25           {{ unlimited_volumes() }}
26         {{ volumes() }}
27         {% endcall %}
28       runner:
29         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
30       sla:
31         {{ no_failures_sla() }}
32
33   CinderVolumes.create_and_list_volume:
34     -
35       args:
36         detailed: true
37         {{ vm_params(image_name,none,1) }}
38       context:
39         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
40         quotas:
41           {{ unlimited_volumes() }}
42         {% endcall %}
43       runner:
44         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
45       sla:
46         {{ no_failures_sla() }}
47     -
48       args:
49         detailed: true
50         size: 1
51       context:
52         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
53         quotas:
54           {{ unlimited_volumes() }}
55         {% endcall %}
56       runner:
57         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
58       sla:
59         {{ no_failures_sla() }}
60
61   CinderVolumes.create_and_upload_volume_to_image:
62     -
63       args:
64         container_format: "bare"
65         disk_format: "raw"
66         do_delete: true
67         force: false
68         size: 1
69       context:
70         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
71         quotas:
72           {{ unlimited_volumes() }}
73         {% endcall %}
74       runner:
75         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
76       sla:
77         {{ no_failures_sla() }}
78
79   CinderVolumes.create_nested_snapshots_and_attach_volume:
80     -
81       args:
82         nested_level: 1
83         size:
84           max: 1
85           min: 1
86       context:
87         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
88         quotas:
89           {{ unlimited_volumes() }}
90         servers:
91           {{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
92           servers_per_tenant: 1
93           auto_assign_nic: true
94         network: {}
95         {% endcall %}
96       runner:
97         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
98       sla:
99         {{ no_failures_sla() }}
100
101   CinderVolumes.create_snapshot_and_attach_volume:
102     -
103       args:
104         size:
105           min: 1
106           max: 5
107       context:
108         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
109         quotas:
110           {{ unlimited_volumes() }}
111         servers:
112           {{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
113           servers_per_tenant: 2
114           auto_assign_nic: true
115         network: {}
116         {% endcall %}
117       runner:
118         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
119       sla:
120         {{ no_failures_sla() }}
121
122   CinderVolumes.create_volume:
123     -
124       args:
125         size: 1
126       context:
127         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
128       runner:
129         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
130     -
131       args:
132         size:
133           min: 1
134           max: 5
135       context:
136         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
137         quotas:
138           {{ unlimited_volumes() }}
139         {% endcall %}
140       runner:
141         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
142       sla:
143         {{ no_failures_sla() }}
144
145   CinderVolumes.list_volumes:
146     -
147       args:
148         detailed: True
149       context:
150         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
151         quotas:
152           {{ unlimited_volumes() }}
153         volumes:
154           size: 1
155           volumes_per_tenant: 4
156         {% endcall %}
157       runner:
158         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
159       sla:
160         {{ no_failures_sla() }}
161
162   CinderVolumes.create_and_delete_snapshot:
163     -
164       args:
165         force: false
166       context:
167         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
168         quotas:
169           {{ unlimited_volumes() }}
170         {{ volumes() }}
171         {% endcall %}
172       runner:
173         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
174       sla:
175         {{ no_failures_sla() }}
176
177   CinderVolumes.create_and_delete_volume:
178     -
179       args:
180         size:
181           max: 1
182           min: 1
183       context:
184         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
185         quotas:
186           {{ unlimited_volumes() }}
187         {% endcall %}
188       runner:
189         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
190       sla:
191         {{ no_failures_sla() }}
192     -
193       args:
194         {{ vm_params(image_name,none,1) }}
195       context:
196         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
197         quotas:
198           {{ unlimited_volumes() }}
199         {% endcall %}
200       runner:
201         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
202       sla:
203         {{ no_failures_sla() }}
204     -
205       args:
206         size: 1
207       context:
208         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
209         quotas:
210           {{ unlimited_volumes() }}
211         {% endcall %}
212       runner:
213         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
214       sla:
215         {{ no_failures_sla() }}
216
217   CinderVolumes.create_and_extend_volume:
218     -
219       args:
220         new_size: 2
221         size: 1
222       context:
223         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
224         quotas:
225           {{ unlimited_volumes() }}
226         {% endcall %}
227       runner:
228         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
229       sla:
230         {{ no_failures_sla() }}
231
232   CinderVolumes.create_from_volume_and_delete_volume:
233     -
234       args:
235         size: 1
236       context:
237         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
238         quotas:
239           {{ unlimited_volumes() }}
240         {{ volumes() }}
241         {% endcall %}
242       runner:
243         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
244       sla:
245         {{ no_failures_sla() }}
246
247   CinderQos.create_and_get_qos:
248     -
249       args:
250         consumer: "both"
251         write_iops_sec: "10"
252         read_iops_sec: "1000"
253       context:
254         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
255       runner:
256         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
257       sla:
258         {{ no_failures_sla() }}
259
260   CinderQos.create_and_list_qos:
261     -
262       args:
263         consumer: "both"
264         write_iops_sec: "10"
265         read_iops_sec: "1000"
266       context:
267         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
268       runner:
269         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
270       sla:
271         {{ no_failures_sla() }}
272
273   CinderQos.create_and_set_qos:
274     -
275       args:
276         consumer: "back-end"
277         write_iops_sec: "10"
278         read_iops_sec: "1000"
279         set_consumer: "both"
280         set_write_iops_sec: "11"
281         set_read_iops_sec: "1001"
282       context:
283         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
284       runner:
285         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
286       sla:
287         {{ no_failures_sla() }}
288
289   CinderVolumeTypes.create_and_get_volume_type:
290     -
291       args:
292         description: "rally tests creating types"
293       context:
294         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
295       runner:
296         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
297       sla:
298         {{ no_failures_sla() }}
299
300   CinderVolumeTypes.create_and_list_volume_types:
301     -
302       args:
303         description: "rally tests creating types"
304       context:
305         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
306       runner:
307         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
308       sla:
309         {{ no_failures_sla() }}
310
311   CinderVolumeTypes.create_and_update_volume_type:
312     -
313       args:
314         description: "test"
315         update_description: "test update"
316       context:
317         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
318       runner:
319         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
320       sla:
321         {{ no_failures_sla() }}
322
323   CinderVolumeTypes.create_volume_type_and_encryption_type:
324     -
325       args:
326         description: "rally tests creating types"
327         provider: "LuksEncryptor"
328         cipher: "aes-xts-plain64"
329         key_size: 512
330         control_location: "front-end"
331       context:
332         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
333       runner:
334         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
335       sla:
336         {{ no_failures_sla() }}
337
338   CinderVolumeTypes.create_volume_type_add_and_list_type_access:
339     -
340       args:
341         description: "rally tests creating types"
342       context:
343         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
344       runner:
345         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
346       sla:
347         {{ no_failures_sla() }}