Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com> Change-Id: Id9d1c0cd8f2cbc34d22f861af7c2297899aa4e4e
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{
|
|
"version": 2,
|
|
"title": "Server Context Configuration",
|
|
"description": "Example of using servers context to pre-create instances for testing",
|
|
"subtasks": [
|
|
{
|
|
"title": "OpenStack Test with Server Context",
|
|
"scenario": {
|
|
"Dummy.openstack": {
|
|
"sleep": 0.1
|
|
}
|
|
},
|
|
"runner": {
|
|
"constant": {
|
|
"times": 1,
|
|
"concurrency": 1
|
|
}
|
|
},
|
|
"contexts": {
|
|
"users": {
|
|
"tenants": 1,
|
|
"users_per_tenant": 2
|
|
},
|
|
"servers": {
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*-disk$"
|
|
},
|
|
"servers_per_tenant": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|