Merge "Modify nested_level from dict to integer"

This commit is contained in:
Jenkins 2016-06-21 16:28:35 +00:00 committed by Gerrit Code Review
commit 212ea08a9d
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{% 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
}
}
}
]
}

View File

@ -0,0 +1,23 @@
{% 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