04ae970b79
Create a VM, attach N volume to it and list server's attachemnt. Measure the "nova volume-attachments" command performance. Change-Id: Iff7b7aad66b16138beb723ca20d0a7bae7bb24d8
37 lines
983 B
JSON
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
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|