a0820ee6e7
Volume_type can specify a certain volume type when there are multiple backends. Change-Id: Ifdc80f5bb6c0a05c64f0b0c6b28b536a2e46f714
1125 lines
22 KiB
YAML
Executable File
1125 lines
22 KiB
YAML
Executable File
{%- set cirros_image_url = "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" %}
|
|
{% set image_name = "^(cirros.*uec|TestVM)$" %}
|
|
{% set flavor_name = "m1.tiny" %}
|
|
{% set volume_type = "" %}
|
|
---
|
|
Authenticate.validate_nova:
|
|
-
|
|
args:
|
|
repetitions: 2
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 5
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 5
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
Quotas.nova_update_and_delete:
|
|
-
|
|
args:
|
|
max_quota: 1024
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
Quotas.nova_update:
|
|
-
|
|
args:
|
|
max_quota: 1024
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_delete_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
auto_assign_nic: true
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
network:
|
|
start_cidr: "10.2.0.0/24"
|
|
networks_per_tenant: 2
|
|
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
force_delete: true
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_list_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
detailed: True
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_list_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
detailed: True
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
user_choice_method: "round_robin"
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.suspend_and_resume_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.pause_and_unpause_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.shelve_and_unshelve_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_rebuild_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
from_image:
|
|
name: {{image_name}}
|
|
to_image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_associate_floating_ip:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
network: {}
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.list_servers:
|
|
-
|
|
args:
|
|
detailed: True
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
servers:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
servers_per_tenant: 2
|
|
network:
|
|
networks_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_show_server:
|
|
-
|
|
args:
|
|
image:
|
|
name: {{image_name}}
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_get_console_output:
|
|
-
|
|
args:
|
|
image:
|
|
name: {{image_name}}
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.resize_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
to_flavor:
|
|
name: "m1.small"
|
|
confirm: true
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
to_flavor:
|
|
name: "m1.small"
|
|
confirm: false
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server_attach_created_volume_and_resize:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
to_flavor:
|
|
name: "m1.small"
|
|
volume_size: 1
|
|
confirm: true
|
|
force_delete: false
|
|
do_delete: true
|
|
boot_server_kwargs: {}
|
|
create_volume_kwargs: {}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server_from_volume_and_resize:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
to_flavor:
|
|
name: "m1.small"
|
|
volume_size: 1
|
|
confirm: true
|
|
force_delete: false
|
|
do_delete: true
|
|
boot_server_kwargs: {}
|
|
create_volume_kwargs: {}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_bounce_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
actions:
|
|
-
|
|
hard_reboot: 1
|
|
-
|
|
stop_start: 1
|
|
-
|
|
rescue_unrescue: 1
|
|
-
|
|
pause_unpause: 1
|
|
-
|
|
suspend_resume: 1
|
|
-
|
|
lock_unlock: 1
|
|
-
|
|
shelve_unshelve: 1
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_lock_unlock_and_delete:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server_from_volume_and_delete:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
volume_size: 1
|
|
volume_type: {{volume_type}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 3
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server_from_volume:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
volume_size: 1
|
|
volume_type: {{volume_type}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
|
|
NovaServers.snapshot_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
api_versions:
|
|
glance:
|
|
version: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
roles:
|
|
- admin
|
|
api_versions:
|
|
glance:
|
|
version: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "^ram64$"
|
|
image:
|
|
name: {{image_name}}
|
|
auto_assign_nic: false
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
flavors:
|
|
-
|
|
name: "ram64"
|
|
ram: 64
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: "rally-named-image-from-context"
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 2
|
|
roles:
|
|
- admin
|
|
images:
|
|
image_url: "{{ cirros_image_url }}"
|
|
image_type: "qcow2"
|
|
image_container: "bare"
|
|
images_per_tenant: 1
|
|
image_name: "rally-named-image-from-context"
|
|
image_args:
|
|
is_public: True
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaHypervisors.list_hypervisors:
|
|
-
|
|
args:
|
|
detailed: True
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaImages.list_images:
|
|
-
|
|
args:
|
|
detailed: True
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaSecGroup.create_and_delete_secgroups:
|
|
-
|
|
args:
|
|
security_group_count: 5
|
|
rules_per_security_group: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
quotas:
|
|
nova:
|
|
security_groups: -1
|
|
security_group_rules: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaSecGroup.create_and_update_secgroups:
|
|
-
|
|
args:
|
|
security_group_count: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
quotas:
|
|
nova:
|
|
security_groups: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaSecGroup.create_and_list_secgroups:
|
|
-
|
|
args:
|
|
security_group_count: 5
|
|
rules_per_security_group: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
user_choice_method: "round_robin"
|
|
quotas:
|
|
nova:
|
|
security_groups: -1
|
|
security_group_rules: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaSecGroup.create_and_list_secgroups:
|
|
-
|
|
args:
|
|
security_group_count: 5
|
|
rules_per_security_group: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
quotas:
|
|
nova:
|
|
security_groups: -1
|
|
security_group_rules: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaSecGroup.boot_and_delete_server_with_secgroups:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
security_group_count: 5
|
|
rules_per_security_group: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
network:
|
|
start_cidr: "10.2.0.0/24"
|
|
quotas:
|
|
nova:
|
|
security_groups: -1
|
|
security_group_rules: -1
|
|
|
|
NovaKeypair.create_and_delete_keypair:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
key_type: "x509"
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
api_versions:
|
|
nova:
|
|
version: 2.2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaKeypair.create_and_list_keypairs:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaKeypair.boot_and_delete_server_with_keypair:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
network:
|
|
start_cidr: "10.2.0.0/24"
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
key_type: "x509"
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
network:
|
|
start_cidr: "10.2.0.0/24"
|
|
api_versions:
|
|
nova:
|
|
version: 2.2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_delete_multiple_servers:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
count: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
|
|
NovaFloatingIpsBulk.create_and_list_floating_ips_bulk:
|
|
-
|
|
args:
|
|
start_cidr: "10.2.0.0/27"
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaFloatingIpsBulk.create_and_delete_floating_ips_bulk:
|
|
-
|
|
args:
|
|
start_cidr: "10.2.0.0/27"
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
VMTasks.boot_runcommand_delete:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
floating_network: "public"
|
|
use_floating_ip: true
|
|
command:
|
|
script_inline: |
|
|
time_seconds(){ (time -p $1 ) 2>&1 |awk '/real/{print $2}'; }
|
|
file=/tmp/test.img
|
|
c=100 #100M
|
|
write_seq=$(time_seconds "dd if=/dev/zero of=$file bs=1M count=$c")
|
|
read_seq=$(time_seconds "dd if=$file of=/dev/null bs=1M count=$c")
|
|
[ -f $file ] && rm $file
|
|
|
|
echo "{
|
|
\"write_seq\": $write_seq,
|
|
\"read_seq\": $read_seq
|
|
}"
|
|
interpreter: "/bin/sh"
|
|
username: "cirros"
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
volume_args:
|
|
size: 2
|
|
use_floating_ip: true
|
|
command:
|
|
script_file: "~/.rally/extra/instance_dd_test.sh"
|
|
interpreter: "/bin/sh"
|
|
username: "cirros"
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
use_floating_ip: false
|
|
command:
|
|
script_file: "~/.rally/extra/instance_dd_test.sh"
|
|
interpreter: "/bin/sh"
|
|
username: "cirros"
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaFlavors.list_flavors:
|
|
-
|
|
args:
|
|
detailed: True
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaAgents.list_agents:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
concurrency: 2
|
|
times: 5
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaAggregates.list_aggregates:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
concurrency: 2
|
|
times : 5
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaAvailabilityZones.list_availability_zones:
|
|
-
|
|
args:
|
|
detailed: true
|
|
runner:
|
|
type: "constant"
|
|
concurrency: 2
|
|
times: 5
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaHosts.list_hosts:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
concurrency: 2
|
|
times: 5
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServices.list_services:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaFlavors.create_flavor:
|
|
-
|
|
args:
|
|
ram: 500
|
|
vcpus: 1
|
|
disk: 1
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaFlavors.create_and_list_flavor_access:
|
|
-
|
|
args:
|
|
ram: 500
|
|
vcpus: 1
|
|
disk: 1
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_and_update_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server_from_volume_snapshot:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
volume_size: 1
|
|
volume_type: {{volume_type}}
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|