87fae11a32a5a9837883216fc56b9af957ff786a
[functest.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         {{ vm_params(image_name,flavor_name) }}
83         nested_level: 1
84         size:
85           max: 1
86           min: 1
87       context:
88         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
89         quotas:
90           {{ unlimited_volumes() }}
91         {% endcall %}
92       runner:
93         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
94       sla:
95         {{ no_failures_sla() }}
96
97   CinderVolumes.create_snapshot_and_attach_volume:
98     -
99       args:
100         {{ vm_params(image_name,flavor_name) }}
101         size:
102           min: 1
103           max: 5
104       context:
105         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
106         quotas:
107           {{ unlimited_volumes() }}
108         {% endcall %}
109       runner:
110         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
111       sla:
112         {{ no_failures_sla() }}
113
114   CinderVolumes.create_volume:
115     -
116       args:
117         size: 1
118       context:
119         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
120       runner:
121         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
122     -
123       args:
124         size:
125           min: 1
126           max: 5
127       context:
128         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
129         quotas:
130           {{ unlimited_volumes() }}
131         {% endcall %}
132       runner:
133         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
134       sla:
135         {{ no_failures_sla() }}
136
137   CinderVolumes.list_volumes:
138     -
139       args:
140         detailed: True
141       context:
142         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
143         quotas:
144           {{ unlimited_volumes() }}
145         volumes:
146           size: 1
147           volumes_per_tenant: 4
148         {% endcall %}
149       runner:
150         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
151       sla:
152         {{ no_failures_sla() }}
153
154   CinderVolumes.create_and_delete_snapshot:
155     -
156       args:
157         force: false
158       context:
159         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
160         quotas:
161           {{ unlimited_volumes() }}
162         {{ volumes() }}
163         {% endcall %}
164       runner:
165         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
166       sla:
167         {{ no_failures_sla() }}
168
169   CinderVolumes.create_and_delete_volume:
170     -
171       args:
172         size:
173           max: 1
174           min: 1
175       context:
176         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
177         quotas:
178           {{ unlimited_volumes() }}
179         {% endcall %}
180       runner:
181         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
182       sla:
183         {{ no_failures_sla() }}
184     -
185       args:
186         {{ vm_params(image_name,none,1) }}
187       context:
188         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
189         quotas:
190           {{ unlimited_volumes() }}
191         {% endcall %}
192       runner:
193         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
194       sla:
195         {{ no_failures_sla() }}
196     -
197       args:
198         size: 1
199       context:
200         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
201         quotas:
202           {{ unlimited_volumes() }}
203         {% endcall %}
204       runner:
205         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
206       sla:
207         {{ no_failures_sla() }}
208
209   CinderVolumes.create_and_extend_volume:
210     -
211       args:
212         new_size: 2
213         size: 1
214       context:
215         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
216         quotas:
217           {{ unlimited_volumes() }}
218         {% endcall %}
219       runner:
220         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
221       sla:
222         {{ no_failures_sla() }}
223
224   CinderVolumes.create_from_volume_and_delete_volume:
225     -
226       args:
227         size: 1
228       context:
229         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
230         quotas:
231           {{ unlimited_volumes() }}
232         {{ volumes() }}
233         {% endcall %}
234       runner:
235         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
236       sla:
237         {{ no_failures_sla() }}
238
239   CinderQos.create_and_get_qos:
240     -
241       args:
242         consumer: "both"
243         write_iops_sec: "10"
244         read_iops_sec: "1000"
245       context:
246         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
247       runner:
248         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
249       sla:
250         {{ no_failures_sla() }}
251
252   CinderQos.create_and_list_qos:
253     -
254       args:
255         consumer: "both"
256         write_iops_sec: "10"
257         read_iops_sec: "1000"
258       context:
259         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
260       runner:
261         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
262       sla:
263         {{ no_failures_sla() }}
264
265   CinderQos.create_and_set_qos:
266     -
267       args:
268         consumer: "back-end"
269         write_iops_sec: "10"
270         read_iops_sec: "1000"
271         set_consumer: "both"
272         set_write_iops_sec: "11"
273         set_read_iops_sec: "1001"
274       context:
275         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
276       runner:
277         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
278       sla:
279         {{ no_failures_sla() }}
280
281   CinderVolumeTypes.create_and_get_volume_type:
282     -
283       args:
284         description: "rally tests creating types"
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   CinderVolumeTypes.create_and_list_volume_types:
293     -
294       args:
295         description: "rally tests creating types"
296       context:
297         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
298       runner:
299         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
300       sla:
301         {{ no_failures_sla() }}
302
303   CinderVolumeTypes.create_and_update_volume_type:
304     -
305       args:
306         description: "test"
307         update_description: "test update"
308       context:
309         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
310       runner:
311         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
312       sla:
313         {{ no_failures_sla() }}
314
315   CinderVolumeTypes.create_volume_type_and_encryption_type:
316     -
317       args:
318         description: "rally tests creating types"
319         provider: "LuksEncryptor"
320         cipher: "aes-xts-plain64"
321         key_size: 512
322         control_location: "front-end"
323       context:
324         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
325       runner:
326         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
327       sla:
328         {{ no_failures_sla() }}
329
330   CinderVolumeTypes.create_volume_type_add_and_list_type_access:
331     -
332       args:
333         description: "rally tests creating types"
334       context:
335         {{ user_context(tenants_amount, users_amount, use_existing_users) }}
336       runner:
337         {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
338       sla:
339         {{ no_failures_sla() }}