rally-openstack/samples/tasks/scenarios/senlin/create-and-delete-profile-cluster.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

40 lines
1.0 KiB
JSON

{
"SenlinClusters.create_and_delete_cluster": [
{
"args": {
"desired_capacity": 3,
"min_size": 0,
"max_size": 5
},
"runner": {
"type": "constant",
"times": 3,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"profiles": {
"type": "os.nova.server",
"version": "1.0",
"properties": {
"name": "cirros_server",
"flavor": 1,
"image": "cirros-0.3.5-x86_64-disk",
"networks": [
{ "network": "private" }
]
}
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}