blob: 169dfcd16d91a8aaf65e42c23ea281cd05a3cbea [file] [log] [blame]
Alexd844aa92021-03-19 15:29:40 -05001{% set concurrency = 10 %}
2{% set volume_size = 1 %}
3{% set times = 100 %}
4{% set users = 3 %}
5{% set tenants = 3 %}
6
7{% set flavor_name = flavor_name or "cvp.tiny" %}
Alexdb7786b2022-02-21 17:58:29 -06008{% set image_name = image_name or "cvp.cirros.51" %}
Alexd844aa92021-03-19 15:29:40 -05009{% set availability_zone = "nova" %}
10{% set rbd_image = "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" %}
Alex1a216672022-05-25 12:40:55 -050011{% set heat_template = "/rally/rally-files/default.yaml.template" %}
Alex2c8b8802022-10-20 14:07:15 -050012{% set fixed_net = "fixed-net-id" %}
Alexd844aa92021-03-19 15:29:40 -050013
14{
15 "KeystoneBasic.authenticate_user_and_validate_token": [
16 {
17 "args": {},
18 "runner": {
19 "type": "constant",
20 "times": {{times}},
21 "concurrency": {{concurrency}}
22 },
23 "sla": { "failure_rate": { "max": 0 } }
24 }
25 ],
26 "KeystoneBasic.create_tenant_with_users": [
27 {
28 "args": { "users_per_tenant": 10 },
29 "runner": {
30 "type": "constant",
31 "concurrency": {{concurrency}},
32 "times": {{times}}
33 },
34 "sla": { "failure_rate": { "max": 0 } }
35 }
36 ],
37 "Authenticate.validate_cinder": [
38 {
39 "args": { "repetitions": 2 },
40 "runner": {
41 "type": "constant",
42 "times": {{times}},
43 "concurrency": {{concurrency}}
44 },
45 "context": {
46 "users": {
47 "users_per_tenant": {{users}},
48 "tenants": {{tenants}}
49 },
50 "api_versions@openstack": { "cinder": {"service_type": "volumev3"} }
51 },
52 "sla": { "failure_rate": { "max": 0 } }
53 }
54 ],
55 "Authenticate.validate_glance": [
56 {
57 "args": { "repetitions": 2 },
58 "runner": {
59 "type": "constant",
60 "times": {{times}},
61 "concurrency": {{concurrency}}
62 },
63 "context": {
64 "users": {
65 "users_per_tenant": {{users}},
66 "tenants": {{tenants}}
67 }
68 },
69 "sla": { "failure_rate": { "max": 0 } }
70 }
71 ],
72 "Authenticate.validate_heat": [
73 {
74 "args": { "repetitions": 2 },
75 "runner": {
76 "type": "constant",
77 "times": {{times}},
78 "concurrency": {{concurrency}}
79 },
80 "context": {
81 "users": {
82 "users_per_tenant": {{users}},
83 "tenants": {{tenants}}
84 }
85 },
86 "sla": { "failure_rate": { "max": 0 } }
87 }
88 ],
89 "Authenticate.validate_nova": [
90 {
91 "args": { "repetitions": 2 },
92 "runner": {
93 "type": "constant",
94 "times": {{times}},
95 "concurrency": {{concurrency}}
96 },
97 "context": {
98 "users": {
99 "users_per_tenant": {{users}},
100 "tenants": {{tenants}}
101 }
102 },
103 "sla": { "failure_rate": { "max": 0 } }
104 }
105 ],
106 "Authenticate.validate_neutron": [
107 {
108 "args": { "repetitions": 2 },
109 "runner": {
110 "type": "constant",
111 "times": {{times}},
112 "concurrency": {{concurrency}}
113 },
114 "context": {
115 "users": {
116 "users_per_tenant": {{users}},
117 "tenants": {{tenants}}
118 }
119 },
120 "sla": { "failure_rate": { "max": 0 } }
121 }
122 ],
123 "NovaServers.boot_and_migrate_server": [
124 {
125 "args": {
126 "flavor": {
127 "name": "{{flavor_name}}"
128 },
129 "image": {
130 "name": "{{image_name}}"
131 },
132 "nics": [
133 {"net-id": "{{fixed_net}}"}
134 ]
135 },
136 "runner": {
137 "type": "constant",
138 "times": {{times}},
139 "concurrency": {{concurrency}}
140 },
141 "context": {
142 "users": {
143 "users_per_tenant": {{users}},
144 "tenants": {{tenants}}
145 },
146 "quotas": {
147 "nova": {
148 "instances": -1,
149 "cores": -1,
150 "ram": -1,
151 "key_pairs": -1,
152 "security_groups": -1,
153 "security_group_rules": -1
154 }
155 }
156 },
157 "sla": { "failure_rate": { "max": 0 } }
158 }
159 ],
160 "NovaServers.boot_and_delete_server": [
161 {
162 "args": {
163 "flavor": {
164 "name": "{{flavor_name}}"
165 },
166 "image": {
167 "name": "{{image_name}}"
168 },
169 "nics": [
170 {"net-id": "{{fixed_net}}"}
171 ],
172 "detailed": true,
173 "availability_zone": "{{availability_zone}}"
174 },
175 "runner": {
176 "type": "constant",
177 "concurrency": {{concurrency}},
178 "times": {{times}}
179 },
180 "context": {
181 "users": {
182 "tenants": {{users}},
183 "users_per_tenant": {{tenants}}
184 },
185 "quotas": {
186 "nova": {
187 "instances": -1,
188 "cores": -1,
189 "ram": -1,
190 "key_pairs": -1,
191 "security_groups": -1,
192 "security_group_rules": -1
193 }
194 }
195 },
196 "sla": { "failure_rate": { "max": 0 } }
197 }
198 ],
199 "NovaServers.boot_server_from_volume_and_delete": [
200 {
201 "args": {
202 "flavor": {
203 "name": "{{flavor_name}}"
204 },
205 "image": {
206 "name": "{{image_name}}"
207 },
208 "nics": [
209 {"net-id": "{{fixed_net}}"}
210 ],
211 "volume_size": {{volume_size}},
212 "force_delete": false,
213 "availability_zone": "{{availability_zone}}"
214 },
215 "runner": {
216 "type": "constant",
217 "concurrency": {{concurrency}},
218 "times": {{times}}
219 },
220 "context": {
221 "users": {
222 "tenants": {{users}},
223 "users_per_tenant": {{tenants}}
224 },
225 "api_versions@openstack": { "cinder": {"service_type": "volumev3"} },
226 "quotas": {
227 "nova": {
228 "instances": -1,
229 "cores": -1,
230 "ram": -1,
231 "key_pairs": -1,
232 "security_groups": -1,
233 "security_group_rules": -1
234 },
235 "cinder": { "volumes": -1 }
236 }
237 },
238 "sla": { "failure_rate": { "max": 0 } }
239 }
240 ],
241 "NeutronNetworks.create_and_delete_networks": [
242 {
243 "runner": {
244 "type": "constant",
245 "concurrency": {{concurrency}},
246 "times": {{times}}
247 },
248 "context": {
249 "users": {
250 "tenants": {{users}},
251 "users_per_tenant": {{tenants}}
252 },
253 "quotas": {
254 "neutron": { "network": -1 }
255 }
256 },
257 "sla": { "failure_rate": { "max": 0 } }
258 }
259 ],
260 "NeutronNetworks.create_and_delete_ports": [
261 {
262 "args": {
263 "network_create_args": {},
264 "port_create_args": {},
265 "ports_per_network": 10
266 },
267 "runner": {
268 "type": "constant",
269 "concurrency": {{concurrency}},
270 "times": {{times}}
271 },
272 "context": {
273 "users": {
274 "tenants": {{users}},
275 "users_per_tenant": {{tenants}}
276 },
277 "quotas": {
278 "neutron": {
279 "network": -1,
280 "port": -1
281 }
282 }
283 },
284 "sla": { "failure_rate": { "max": 0 } }
285 }
286 ],
287 "NeutronNetworks.create_and_delete_routers": [
288 {
289 "args": {
290 "network_create_args": {},
291 "subnet_create_args": {},
292 "subnet_cidr_start": "1.1.0.0/30",
293 "subnets_per_network": 2,
294 "router_create_args": {}
295 },
296 "runner": {
297 "type": "constant",
298 "concurrency": {{concurrency}},
299 "times": {{times}}
300 },
301 "context": {
302 "users": {
303 "tenants": {{users}},
304 "users_per_tenant": {{tenants}}
305 },
306 "quotas": {
307 "neutron": {
308 "network": -1,
309 "subnet": -1,
310 "router": -1
311 }
312 }
313 },
314 "sla": { "failure_rate": { "max": 0 } }
315 }
316 ],
317 "CinderVolumes.create_and_attach_volume": [
318 {
319 "args": {
320 "size": {{volume_size}},
321 "image": {
322 "name": "{{image_name}}"
323 },
324 "flavor": {
325 "name": "{{flavor_name}}"
326 },
327 "nics": [
328 {"net-id": "{{fixed_net}}"}
329 ],
330 "create_volume_params": {},
331 "availability_zone": "{{availability_zone}}"
332 },
333 "runner": {
334 "type": "constant",
335 "concurrency": {{concurrency}},
336 "times": {{times}}
337 },
338 "context": {
339 "users": {
340 "tenants": {{users}},
341 "users_per_tenant": {{tenants}}
342 },
343 "api_versions@openstack": { "cinder": {"service_type": "volumev3"} },
344 "quotas": {
345 "nova": {
346 "instances": -1,
347 "cores": -1,
348 "ram": -1,
349 "key_pairs": -1,
350 "security_groups": -1,
351 "security_group_rules": -1
352 },
353 "cinder": { "volumes": -1 }
354 }
355 },
356 "sla": { "failure_rate": { "max": 0 } }
357 }
358 ],
359 "CinderVolumes.create_and_delete_snapshot": [
360 {
361 "args": { "force": false },
362 "runner": {
363 "type": "constant",
364 "concurrency": {{concurrency}},
365 "times": {{times}}
366 },
367 "context": {
368 "users": {
369 "tenants": {{users}},
370 "users_per_tenant": {{tenants}}
371 },
372 "volumes": { "size": {{volume_size}} },
373 "quotas": {
374 "cinder": {
375 "snapshots": -1,
376 "volumes": -1
377 }
378 },
379 "api_versions@openstack": { "cinder": {"service_type": "volumev3"} }
380 },
381 "sla": { "failure_rate": { "max": 0 } }
382 }
383 ],
384 "CinderVolumes.create_and_upload_volume_to_image": [
385 {
386 "args": {
387 "size": {{volume_size}},
388 "force": false,
389 "container_format": "bare",
390 "disk_format": "raw",
391 "do_delete": true,
392 "image": {
393 "name": "{{image_name}}"
394 }
395 },
396 "runner": {
397 "type": "constant",
398 "concurrency": {{concurrency}},
399 "times": {{times}}
400 },
401 "context": {
402 "users": {
403 "tenants": {{users}},
404 "users_per_tenant": {{tenants}}
405 },
406 "quotas": {
407 "cinder": {
408 "snapshots": -1,
409 "volumes": -1
410 }
411 },
412 "api_versions@openstack": { "cinder": {"service_type": "volumev3"} }
413 },
414 "sla": { "failure_rate": { "max": 0 } }
415 }
416 ],
417 "GlanceImages.create_and_delete_image": [
418 {
419 "args": {
420 "image_location": "{{rbd_image}}",
421 "container_format": "bare",
422 "disk_format": "qcow2"
423 },
424 "runner": {
425 "type": "constant",
426 "concurrency": {{concurrency}},
427 "times": {{times}}
428 },
429 "context": {
430 "users": {
431 "tenants": {{users}},
432 "users_per_tenant": {{tenants}}
433 }
434 },
435 "sla": { "failure_rate": { "max": 0 } }
436 }
437 ],
438 "HeatStacks.create_and_delete_stack": [
439 {
440 "args": { "template_path": "{{heat_template}}" },
441 "runner": {
442 "type": "constant",
443 "concurrency": {{concurrency}},
444 "times": {{times}}
445 },
446 "context": {
447 "users": {
448 "tenants": {{users}},
449 "users_per_tenant": {{tenants}}
450 }
451 },
452 "sla": { "failure_rate": { "max": 0 } }
453 }
454 ]
455}