Files
rally-openstack/samples/tasks/contexts/servers.json
Andriy Kurilin c3c6de9804 Port all samples to task format v2
Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com>
Change-Id: Id9d1c0cd8f2cbc34d22f861af7c2297899aa4e4e
2025-09-17 13:15:29 +02:00

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
}
}
}
]
}