65bb33ed97
Volume_type can specify a certain volume type when there are multiple backends. Change-Id: Ifdc80f5bb6c0a05c64f0b0c6b28b536a2e46f714
31 lines
817 B
JSON
Executable File
31 lines
817 B
JSON
Executable File
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{% set volume_type = volume_type or "" %}
|
|
{
|
|
"NovaServers.boot_server_from_volume_and_delete": [
|
|
{
|
|
"args": {
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*uec$"
|
|
},
|
|
"volume_size": 10,
|
|
"volume_type": "{{volume_type}}",
|
|
"force_delete": false
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 3,
|
|
"users_per_tenant": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|