rally-openstack/samples/tasks/scenarios/nova/boot-server-attach-volume-and-list-attachments.json
zhangzhang 04ae970b79 Add nova.BootServerAttachVolumeAndListAttachemnt
Create a VM, attach N volume to it and list server's
attachemnt.

Measure the "nova volume-attachments" command performance.

Change-Id: Iff7b7aad66b16138beb723ca20d0a7bae7bb24d8
2017-07-21 06:41:00 +00:00

37 lines
983 B
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{% set image_name = "^(cirros.*-disk|TestVM)$" %}
{
"NovaServers.boot_server_attach_volume_and_list_attachments": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "{{image_name}}"
},
"volume_size": 1,
"volume_num": 2,
"boot_server_kwargs": {},
"create_volume_kwargs": {}
},
"runner": {
"type": "constant",
"times": 5,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}