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