Alex | d844aa9 | 2021-03-19 15:29:40 -0500 | [diff] [blame] | 1 | {% set flavor_name = flavor_name or "cvp.tiny" %} |
Alex | db7786b | 2022-02-21 17:58:29 -0600 | [diff] [blame] | 2 | {% set image_name = image_name or "cvp.cirros.51" %} |
Alex | d844aa9 | 2021-03-19 15:29:40 -0500 | [diff] [blame] | 3 | {% set availability_zone = "nova" %} |
| 4 | {% set concurrency = 1 %} |
| 5 | {% set volume_size = 1 %} |
| 6 | {% set times = 1 %} |
| 7 | {% set users = 1 %} |
| 8 | {% set tenants = 1 %} |
| 9 | {% set rbd_image = "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" %} |
Alex | e67127e | 2022-10-03 14:42:30 -0500 | [diff] [blame] | 10 | {% set heat_template = "/rally/rally-files/default.yaml.template" %} |
Alex | d844aa9 | 2021-03-19 15:29:40 -0500 | [diff] [blame] | 11 | {% 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 | "users": { |
| 142 | "users_per_tenant": {{users}}, |
| 143 | "tenants": {{tenants}} |
| 144 | }, |
| 145 | "quotas": { |
| 146 | "nova": { |
| 147 | "instances": -1, |
| 148 | "cores": -1, |
| 149 | "ram": -1, |
| 150 | "key_pairs": -1, |
| 151 | "security_groups": -1, |
| 152 | "security_group_rules": -1 |
| 153 | } |
| 154 | } |
| 155 | }, |
| 156 | "sla": { "failure_rate": { "max": 0 } } |
| 157 | } |
| 158 | ], |
| 159 | "NovaServers.boot_and_delete_server": [ |
| 160 | { |
| 161 | "args": { |
| 162 | "flavor": { |
| 163 | "name": "{{flavor_name}}" |
| 164 | }, |
| 165 | "image": { |
| 166 | "name": "{{image_name}}" |
| 167 | }, |
| 168 | "nics": [ |
| 169 | {"net-id": "{{fixed_net}}"} |
| 170 | ], |
| 171 | "detailed": true, |
| 172 | "availability_zone": "{{availability_zone}}" |
| 173 | }, |
| 174 | "runner": { |
| 175 | "type": "constant", |
| 176 | "concurrency": {{concurrency}}, |
| 177 | "times": {{times}} |
| 178 | }, |
| 179 | "context": { |
| 180 | "users": { |
| 181 | "tenants": {{users}}, |
| 182 | "users_per_tenant": {{tenants}} |
| 183 | }, |
| 184 | "quotas": { |
| 185 | "nova": { |
| 186 | "instances": -1, |
| 187 | "cores": -1, |
| 188 | "ram": -1, |
| 189 | "key_pairs": -1, |
| 190 | "security_groups": -1, |
| 191 | "security_group_rules": -1 |
| 192 | } |
| 193 | } |
| 194 | }, |
| 195 | "sla": { "failure_rate": { "max": 0 } } |
| 196 | } |
| 197 | ], |
| 198 | "NovaServers.boot_server_from_volume_and_delete": [ |
| 199 | { |
| 200 | "args": { |
| 201 | "flavor": { |
| 202 | "name": "{{flavor_name}}" |
| 203 | }, |
| 204 | "image": { |
| 205 | "name": "{{image_name}}" |
| 206 | }, |
| 207 | "nics": [ |
| 208 | {"net-id": "{{fixed_net}}"} |
| 209 | ], |
| 210 | "volume_size": {{volume_size}}, |
| 211 | "force_delete": false, |
| 212 | "availability_zone": "{{availability_zone}}" |
| 213 | }, |
| 214 | "runner": { |
| 215 | "type": "constant", |
| 216 | "concurrency": {{concurrency}}, |
| 217 | "times": {{times}} |
| 218 | }, |
| 219 | "context": { |
| 220 | "users": { |
| 221 | "tenants": {{users}}, |
| 222 | "users_per_tenant": {{tenants}} |
| 223 | }, |
| 224 | "api_versions@openstack": { "cinder": {"service_type": "volumev3"} }, |
| 225 | "quotas": { |
| 226 | "nova": { |
| 227 | "instances": -1, |
| 228 | "cores": -1, |
| 229 | "ram": -1, |
| 230 | "key_pairs": -1, |
| 231 | "security_groups": -1, |
| 232 | "security_group_rules": -1 |
| 233 | }, |
| 234 | "cinder": { "volumes": -1 } |
| 235 | } |
| 236 | }, |
| 237 | "sla": { "failure_rate": { "max": 0 } } |
| 238 | } |
| 239 | ], |
| 240 | "NeutronNetworks.create_and_delete_networks": [ |
| 241 | { |
| 242 | "runner": { |
| 243 | "type": "constant", |
| 244 | "concurrency": {{concurrency}}, |
| 245 | "times": {{times}} |
| 246 | }, |
| 247 | "context": { |
| 248 | "users": { |
| 249 | "tenants": {{users}}, |
| 250 | "users_per_tenant": {{tenants}} |
| 251 | }, |
| 252 | "quotas": { |
| 253 | "neutron": { "network": -1 } |
| 254 | } |
| 255 | }, |
| 256 | "sla": { "failure_rate": { "max": 0 } } |
| 257 | } |
| 258 | ], |
| 259 | "NeutronNetworks.create_and_delete_ports": [ |
| 260 | { |
| 261 | "args": { |
| 262 | "network_create_args": {}, |
| 263 | "port_create_args": {}, |
| 264 | "ports_per_network": 10 |
| 265 | }, |
| 266 | "runner": { |
| 267 | "type": "constant", |
| 268 | "concurrency": {{concurrency}}, |
| 269 | "times": {{times}} |
| 270 | }, |
| 271 | "context": { |
| 272 | "users": { |
| 273 | "tenants": {{users}}, |
| 274 | "users_per_tenant": {{tenants}} |
| 275 | }, |
| 276 | "quotas": { |
| 277 | "neutron": { |
| 278 | "network": -1, |
| 279 | "port": -1 |
| 280 | } |
| 281 | } |
| 282 | }, |
| 283 | "sla": { "failure_rate": { "max": 0 } } |
| 284 | } |
| 285 | ], |
| 286 | "NeutronNetworks.create_and_delete_routers": [ |
| 287 | { |
| 288 | "args": { |
| 289 | "network_create_args": {}, |
| 290 | "subnet_create_args": {}, |
| 291 | "subnet_cidr_start": "1.1.0.0/30", |
| 292 | "subnets_per_network": 2, |
| 293 | "router_create_args": {} |
| 294 | }, |
| 295 | "runner": { |
| 296 | "type": "constant", |
| 297 | "concurrency": {{concurrency}}, |
| 298 | "times": {{times}} |
| 299 | }, |
| 300 | "context": { |
| 301 | "users": { |
| 302 | "tenants": {{users}}, |
| 303 | "users_per_tenant": {{tenants}} |
| 304 | }, |
| 305 | "quotas": { |
| 306 | "neutron": { |
| 307 | "network": -1, |
| 308 | "subnet": -1, |
| 309 | "router": -1 |
| 310 | } |
| 311 | } |
| 312 | }, |
| 313 | "sla": { "failure_rate": { "max": 0 } } |
| 314 | } |
| 315 | ], |
| 316 | "CinderVolumes.create_and_attach_volume": [ |
| 317 | { |
| 318 | "args": { |
| 319 | "size": {{volume_size}}, |
| 320 | "image": { |
| 321 | "name": "{{image_name}}" |
| 322 | }, |
| 323 | "flavor": { |
| 324 | "name": "{{flavor_name}}" |
| 325 | }, |
| 326 | "nics": [ |
| 327 | {"net-id": "{{fixed_net}}"} |
| 328 | ], |
| 329 | "create_volume_params": {}, |
| 330 | "availability_zone": "{{availability_zone}}" |
| 331 | }, |
| 332 | "runner": { |
| 333 | "type": "constant", |
| 334 | "concurrency": {{concurrency}}, |
| 335 | "times": {{times}} |
| 336 | }, |
| 337 | "context": { |
| 338 | "users": { |
| 339 | "tenants": {{users}}, |
| 340 | "users_per_tenant": {{tenants}} |
| 341 | }, |
| 342 | "api_versions@openstack": { "cinder": {"service_type": "volumev3"} }, |
| 343 | "quotas": { |
| 344 | "nova": { |
| 345 | "instances": -1, |
| 346 | "cores": -1, |
| 347 | "ram": -1, |
| 348 | "key_pairs": -1, |
| 349 | "security_groups": -1, |
| 350 | "security_group_rules": -1 |
| 351 | }, |
| 352 | "cinder": { "volumes": -1 } |
| 353 | } |
| 354 | }, |
| 355 | "sla": { "failure_rate": { "max": 0 } } |
| 356 | } |
| 357 | ], |
| 358 | "CinderVolumes.create_and_delete_snapshot": [ |
| 359 | { |
| 360 | "args": { "force": false }, |
| 361 | "runner": { |
| 362 | "type": "constant", |
| 363 | "concurrency": {{concurrency}}, |
| 364 | "times": {{times}} |
| 365 | }, |
| 366 | "context": { |
| 367 | "users": { |
| 368 | "tenants": {{users}}, |
| 369 | "users_per_tenant": {{tenants}} |
| 370 | }, |
| 371 | "volumes": { "size": {{volume_size}} }, |
| 372 | "quotas": { |
| 373 | "cinder": { |
| 374 | "snapshots": -1, |
| 375 | "volumes": -1 |
| 376 | } |
| 377 | }, |
| 378 | "api_versions@openstack": { "cinder": {"service_type": "volumev3"} } |
| 379 | }, |
| 380 | "sla": { "failure_rate": { "max": 0 } } |
| 381 | } |
| 382 | ], |
| 383 | "CinderVolumes.create_and_upload_volume_to_image": [ |
| 384 | { |
| 385 | "args": { |
| 386 | "size": {{volume_size}}, |
| 387 | "force": false, |
| 388 | "container_format": "bare", |
| 389 | "disk_format": "raw", |
| 390 | "do_delete": true, |
| 391 | "image": { |
| 392 | "name": "{{image_name}}" |
| 393 | } |
| 394 | }, |
| 395 | "runner": { |
| 396 | "type": "constant", |
| 397 | "concurrency": {{concurrency}}, |
| 398 | "times": {{times}} |
| 399 | }, |
| 400 | "context": { |
| 401 | "users": { |
| 402 | "tenants": {{users}}, |
| 403 | "users_per_tenant": {{tenants}} |
| 404 | }, |
| 405 | "quotas": { |
| 406 | "cinder": { |
| 407 | "snapshots": -1, |
| 408 | "volumes": -1 |
| 409 | } |
| 410 | }, |
| 411 | "api_versions@openstack": { "cinder": {"service_type": "volumev3"} } |
| 412 | }, |
| 413 | "sla": { "failure_rate": { "max": 0 } } |
| 414 | } |
| 415 | ], |
| 416 | "GlanceImages.create_and_delete_image": [ |
| 417 | { |
| 418 | "args": { |
| 419 | "image_location": "{{rbd_image}}", |
| 420 | "container_format": "bare", |
| 421 | "disk_format": "qcow2" |
| 422 | }, |
| 423 | "runner": { |
| 424 | "type": "constant", |
| 425 | "concurrency": {{concurrency}}, |
| 426 | "times": {{times}} |
| 427 | }, |
| 428 | "context": { |
| 429 | "users": { |
| 430 | "tenants": {{users}}, |
| 431 | "users_per_tenant": {{tenants}} |
| 432 | } |
| 433 | }, |
| 434 | "sla": { "failure_rate": { "max": 0 } } |
| 435 | } |
| 436 | ], |
| 437 | "HeatStacks.create_and_delete_stack": [ |
| 438 | { |
| 439 | "args": { "template_path": "{{heat_template}}" }, |
| 440 | "runner": { |
| 441 | "type": "constant", |
| 442 | "concurrency": {{concurrency}}, |
| 443 | "times": {{times}} |
| 444 | }, |
| 445 | "context": { |
| 446 | "users": { |
| 447 | "tenants": {{users}}, |
| 448 | "users_per_tenant": {{tenants}} |
| 449 | } |
| 450 | }, |
| 451 | "sla": { "failure_rate": { "max": 0 } } |
| 452 | } |
| 453 | ] |
| 454 | } |