rally-openstack/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.json
Anton Arefiev 934d3eb98f Support size range in Cinder create_volume and extend_volume
It is useful for some test cases to set up volume size from some
range, not only specific value. This change add such possibility
to create_volume and extend_volume.

Change-Id: Ic7cc9270eb8d31dcbe3d30acf6f24cf9c41a6fd1
2015-04-29 17:36:54 +03:00

48 lines
1.2 KiB
JSON

{
"CinderVolumes.create_and_upload_volume_to_image": [
{
"args": {
"size": 1,
"force": false,
"container_format": "bare",
"disk_format": "raw",
"do_delete": true
},
"runner": {
"type": "constant",
"times": 3,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
},
{
"args": {
"size": {
"min": 1,
"max": 5
},
"force": false,
"container_format": "bare",
"disk_format": "raw",
"do_delete": true
},
"runner": {
"type": "constant",
"times": 3,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
}
]
}