rally-openstack/samples/tasks/scenarios/cinder/create-volume-and-clone.json
chenhb-zte 58021818b4 Fix CinderVolumes.create_volume_and_clone
1:Add nested_level argument for nested cloning volume to new volume.
2:Fix the bug that new volume assiged size is possibly less than
source volume size when setting size argument "min: 1, max: 5".

Change-Id: I18ae333189423461bca52f783311bcf43354ccab
2016-05-27 08:15:59 -04:00

41 lines
928 B
JSON
Executable File

{
"CinderVolumes.create_volume_and_clone": [
{
"args": {
"size": 1
},
"runner": {
"type": "constant",
"times": 3,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
},
{
"args": {
"size": {
"min": 1,
"max": 5
},
"nested_level": 3
},
"runner": {
"type": "constant",
"times": 3,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
}
]
}