rally-openstack/samples/tasks/scenarios/cinder/create-nested-snapshots-and-attach-volume.json
Lv Fumei 70c6500d72 Modify nested_level from dict to integer
In function create_nested_snapshots_and_attach_volume, nested_level's
default value is 1, and it is used to operate with an integer
(for i in range(nested_level - 1):).

Change-Id: I4879d7cdcb5a56b83a1415c4a8fc427241ddc913
Closes-Bug: #1594656
2016-06-21 14:55:18 +08:00

35 lines
914 B
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{
"CinderVolumes.create_nested_snapshots_and_attach_volume": [
{
"args": {
"size": {
"min": 1,
"max": 5
},
"nested_level": 5
},
"runner": {
"type": "constant",
"times": 1,
"concurrency": 1
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 1
},
"servers": {
"image": {
"name": "^cirros.*uec$"
},
"flavor": {
"name": "{{flavor_name}}"
},
"servers_per_tenant": 2
}
}
}
]
}