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