rally-openstack/samples/tasks/scenarios/cinder/create-snapshot-and-attach-volume.json
chenhb-zte 0f775893d5 Switch cinder scenarios to cinder service
1. need to fix the bug of cinder servcie
2. switch cinder scenarios to cinder service
3. port new method of cinder to cinder service

Change-Id: I49bef1d940acb09c64946ba31ca85bbd5230cc36
2017-03-29 15:04:46 +08:00

65 lines
1.7 KiB
JSON

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