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