| {% set flavor_name = flavor_name or "m1.tiny" %} |
| {% set image_name = image_name or "testvm" %} |
| {% set flavor_name_ubuntu = flavor_name or "m1.medium" %} |
| {% set image_name_ubuntu = image_name or "testvm_ubuntu" %} |
| {% set volume_type = volume_type or "standard-iops" %} |
| {% set availability_zone = "nova" %} |
| {% set concurrency = 10 %} |
| {% set volume_size = 2 %} |
| {% set times = 100 %} |
| {% set users = 5 %} |
| {% set tenants = 10 %} |
| {% set rbd_image = "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" %} |
| {% set heat_template = "/home/rally/default.yaml.template" %} |
| {% set block_migration = true %} |
| {% set ext_net_name = "<NAME>" %} |
| {% set ext_net_id = "<ID>" %} |
| {% set script_file = script_file or "/home/rally/instance_test.sh" %} |
| {% set tenant_net = "${FIXED_NET}" %} |
| |
| { "NovaServers.boot_and_migrate_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ] |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "users_per_tenant": {{users}}, |
| "tenants": {{tenants}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.boot_and_live_migrate_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "block_migration": false |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "users_per_tenant": {{users}}, |
| "tenants": {{tenants}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.boot_and_associate_floating_ip": [ |
| { |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": 40 |
| }, |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "auto_assign_nic": true, |
| "availability_zone": "{{availability_zone}}" |
| }, |
| "context": { |
| "users": { |
| "users_per_tenant": {{users}}, |
| "tenants": {{tenants}} |
| }, |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "quotas": { |
| "nova": { |
| "instances": -1, |
| "cores": -1, |
| "ram": -1, |
| "floating_ips": -1, |
| "key_pairs": -1, |
| "security_groups": -1, |
| "security_group_rules": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.boot_and_delete_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name_ubuntu}}" |
| }, |
| "image": { |
| "name": "{{image_name_ubuntu}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "detailed": true, |
| "auto_assign_nic": true, |
| "availability_zone": "{{availability_zone}}" |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "quotas": { |
| "nova": { |
| "instances": -1, |
| "cores": -1, |
| "ram": -1, |
| "floating_ips": -1, |
| "key_pairs": -1, |
| "security_groups": -1, |
| "security_group_rules": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| }, |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "detailed": true, |
| "auto_assign_nic": true, |
| "availability_zone": "{{availability_zone}}" |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "quotas": { |
| "nova": { |
| "instances": -1, |
| "cores": -1, |
| "ram": -1, |
| "floating_ips": -1, |
| "key_pairs": -1, |
| "security_groups": -1, |
| "security_group_rules": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.boot_server_from_volume_and_delete": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "volume_size": {{volume_size}}, |
| "volume_type": "{{volume_type}}", |
| "force_delete": false, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "auto_assign_nic": true, |
| "availability_zone": "{{availability_zone}}" |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "quotas": { |
| "nova": { |
| "instances": -1, |
| "cores": -1, |
| "ram": -1, |
| "floating_ips": -1, |
| "key_pairs": -1, |
| "security_groups": -1, |
| "security_group_rules": -1 |
| }, |
| "cinder": { |
| "volumes": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaKeypair.create_and_delete_keypair": [ |
| { |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaKeypair.create_and_list_keypairs": [ |
| { |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.boot_and_bounce_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "force_delete": false, |
| "actions": [ |
| {"hard_reboot": 1}, |
| {"soft_reboot": 1}, |
| {"stop_start": 1}, |
| {"rescue_unrescue": 1} |
| ] |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| } |
| |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.boot_and_list_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "detailed": true |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.boot_and_rebuild_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name_ubuntu}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "from_image": { |
| "name": "{{image_name}}" |
| }, |
| "to_image": { |
| "name": "{{image_name_ubuntu}}" |
| } |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": 5 |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.pause_and_unpause_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "force_delete": false |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": 5 |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NovaServers.snapshot_server": [ |
| { |
| "args": { |
| "flavor": { |
| "name": "{{flavor_name_ubuntu}}" |
| }, |
| "image": { |
| "name": "{{image_name_ubuntu}}" |
| }, |
| "nics": [ |
| {"net-id": "{{tenant_net}}"} |
| ], |
| "force_delete": false |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_delete_networks": [ |
| { |
| "args": { |
| "network_create_args": {} |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_delete_ports": [ |
| { |
| "args": { |
| "network_create_args": {}, |
| "port_create_args": {}, |
| "ports_per_network": 10 |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "port": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_delete_routers": [ |
| { |
| "args": { |
| "network_create_args": {}, |
| "subnet_create_args": {}, |
| "subnet_cidr_start": "1.1.0.0/30", |
| "subnets_per_network": 2, |
| "router_create_args": {} |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "subnet": -1, |
| "router": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_delete_subnets": [ |
| { |
| "args": { |
| "network_create_args": {}, |
| "subnet_create_args": {}, |
| "subnet_cidr_start": "1.1.0.0/30", |
| "subnets_per_network": 2 |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": 1 |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "subnet": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_list_networks": [ |
| { |
| "args": { |
| "network_create_args": {} |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_list_ports": [ |
| { |
| "args": { |
| "network_create_args": {}, |
| "port_create_args": {}, |
| "ports_per_network": 10 |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "port": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_list_routers": [ |
| { |
| "args": { |
| "network_create_args": {}, |
| "subnet_create_args": {}, |
| "subnet_cidr_start": "1.1.0.0/30", |
| "subnets_per_network": 2, |
| "router_create_args": {} |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "subnet": -1, |
| "router": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_list_subnets": [ |
| { |
| "args": { |
| "network_create_args": {}, |
| "subnet_create_args": {}, |
| "subnet_cidr_start": "1.1.0.0/30", |
| "subnets_per_network": 2 |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "subnet": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_update_networks": [ |
| { |
| "args": { |
| "network_update_args": { |
| "admin_state_up": false, |
| "name": "_updated" |
| }, |
| "network_create_args": {} |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_update_routers": [ |
| { |
| "args": { |
| "network_create_args": {}, |
| "subnet_create_args": {}, |
| "subnet_cidr_start": "1.1.0.0/30", |
| "subnets_per_network": 2, |
| "router_create_args": {}, |
| "router_update_args": { |
| "admin_state_up": false, |
| "name": "_router_updated" |
| } |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "subnet": -1, |
| "router": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "NeutronNetworks.create_and_update_subnets": [ |
| { |
| "args": { |
| "subnet_update_args": { |
| "enable_dhcp": false, |
| "name": "_subnet_updated" |
| }, |
| "network_create_args": {}, |
| "subnet_create_args": {}, |
| "subnet_cidr_start": "1.4.0.0/16", |
| "subnets_per_network": 2 |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "neutron": { |
| "network": -1, |
| "subnet": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_and_attach_volume": [ |
| { |
| "args": { |
| "size": {{volume_size}}, |
| "image": { |
| "name": "{{image_name}}" |
| }, |
| "flavor": { |
| "name": "{{flavor_name}}" |
| }, |
| "create_volume_params": { |
| }, |
| "auto_assign_nic": true, |
| "availability_zone": "{{availability_zone}}" |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| "network": { |
| "router": { |
| "external_gateway_info": { |
| "network_id": {{ext_net_id}} |
| } |
| } |
| }, |
| "quotas": { |
| "cinder": { |
| "volumes": -1 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_and_delete_volume": [ |
| { |
| "args": { |
| "size": 1 |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| }, |
| { |
| "args": { |
| "size": { |
| "min": 1, |
| "max": 5 |
| } |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| }, |
| { |
| "args": { |
| "size": 1, |
| "image": { |
| "name": "{{image_name}}" |
| } |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_and_delete_snapshot": [ |
| { |
| "args": { |
| "force": false |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "volumes": { |
| "size": {{volume_size}} |
| }, |
| "quotas": { |
| "cinder": { |
| "snapshots": -1, |
| "volumes": -1 |
| } |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_and_upload_volume_to_image": [ |
| { |
| "args": { |
| "size": {{volume_size}}, |
| "force": false, |
| "container_format": "bare", |
| "disk_format": "raw", |
| "do_delete": true, |
| "image": { |
| "name": "{{image_name}}" |
| } |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "cinder": { |
| "snapshots": -1, |
| "volumes": -1 |
| } |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_and_extend_volume": [ |
| { |
| "args": { |
| "size": 1, |
| "new_size": 2 |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| }, |
| { |
| "args": { |
| "size": { |
| "min": 1, |
| "max": 5 |
| }, |
| "new_size": { |
| "min": 6, |
| "max": 10 |
| } |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_and_list_snapshots": [ |
| { |
| "args": { |
| "force": false, |
| "detailed": true |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "volumes": { |
| "size": 1 |
| }, |
| "quotas": { |
| "cinder": { |
| "snapshots": -1, |
| "volumes": -1 |
| } |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_and_list_volume": [ |
| { |
| "args": { |
| "size": 1, |
| "detailed": true |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "cinder": { |
| "volumes": -1 |
| } |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| }, |
| { |
| "args": { |
| "size": { |
| "min": 1, |
| "max": 5 |
| }, |
| "detailed": true |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "quotas": { |
| "cinder": { |
| "volumes": -1 |
| } |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "CinderVolumes.create_from_volume_and_delete_volume": [ |
| { |
| "args": { |
| "size": 1 |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "volumes": { |
| "size": 1 |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| }, |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| }, |
| { |
| "args": { |
| "size": { |
| "min": 1, |
| "max": 5 |
| } |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| }, |
| "volumes": { |
| "size": 1 |
| }, |
| "api_versions": { |
| "cinder": { |
| "service_name": "cinderv3", |
| "version": 3 |
| } |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "GlanceImages.create_and_delete_image": [ |
| { |
| "args": { |
| "image_location": "{{rbd_image}}", |
| "container_format": "bare", |
| "disk_format": "qcow2" |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "GlanceImages.create_and_list_image": [ |
| { |
| "args": { |
| "image_location": "{{rbd_image}}", |
| "container_format": "bare", |
| "disk_format": "qcow2" |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "HeatStacks.create_and_delete_stack": [ |
| { |
| "args": { |
| "template_path": "{{heat_template}}" |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.add_and_remove_user_role": [ |
| { |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.create_tenant_with_users": [ |
| { |
| "args": { |
| "users_per_tenant": 10 |
| }, |
| "runner": { |
| "type": "constant", |
| "concurrency": {{concurrency}}, |
| "times": {{times}} |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.create_add_and_list_user_roles": [ |
| { |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "context": { |
| "users": { |
| "tenants": {{tenants}}, |
| "users_per_tenant": {{users}} |
| } |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.create_and_delete_role": [ |
| { |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.create_and_delete_service": [ |
| { |
| "args": { |
| "service_type": "Rally_test_type", |
| "description": "test_description" |
| }, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.create_and_list_users": [ |
| { |
| "args": {}, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.create_update_and_delete_tenant": [ |
| { |
| "args": {}, |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ], |
| "KeystoneBasic.get_entities": [ |
| { |
| "runner": { |
| "type": "constant", |
| "times": {{times}}, |
| "concurrency": {{concurrency}} |
| }, |
| "sla": { |
| "failure_rate": { |
| "max": 0 |
| } |
| } |
| } |
| ] |
| } |