rally-openstack/samples/tasks/scenarios/nova/boot-and-delete-server-with-keypairs.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

36 lines
909 B
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{
"NovaKeypair.boot_and_delete_server_with_keypair": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "^cirros.*-disk$"
},
"boot_server_kwargs": {}
},
"runner": {
"type": "constant",
"times": 5,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 1
},
"network": {
"start_cidr": "100.1.0.0/26"
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}