02772b1c70
The patch adds a rally template for Heat.create_and_delete_stack scenario that allows to test performance of creation and deletion of Heat Resource Groups. The template allows to create a stack that contain N instances and N volumes attached, where N - is num_instances parameter in rally template. Change-Id: If5c7c787c670b464eb3386635bcb1bfc5a218075
25 lines
658 B
JSON
25 lines
658 B
JSON
{
|
|
"HeatStacks.create_and_delete_stack": [
|
|
{
|
|
"args": {
|
|
"template_path": "templates/resource_group_server_with_volume.yaml.template",
|
|
"parameters": {
|
|
"num_instances": 2
|
|
},
|
|
"files": ["templates/server_with_volume.yaml.template"]
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 3,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 2,
|
|
"users_per_tenant": 3
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|