rally-openstack/samples/tasks/scenarios/heat/create-stack-and-scale.json
zhangzhang f61b5bf221 Add sla section to samples
Add missing sla section and proper check
This work is originally porposed by Roman[1]

[1] https://review.openstack.org/#/c/348395/3

Change-Id: I4507aa82080b41cac4b87aa810865da9ffe015e6
Closes-bug: #1554857
2017-08-03 04:31:30 -04:00

28 lines
532 B
JSON

{
"HeatStacks.create_stack_and_scale": [
{
"args": {
"template_path": "samples/tasks/scenarios/heat/templates/autoscaling-group.yaml.template",
"output_key": "scaling_url",
"delta": 1
},
"runner": {
"type": "constant",
"concurrency": 2,
"times": 3
},
"context": {
"users": {
"users_per_tenant": 1,
"tenants": 2
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}