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