rally-openstack/samples/tasks/scenarios/cinder/create-and-extend-volume.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

45 lines
1.0 KiB
JSON

{
"CinderVolumes.create_and_extend_volume": [
{
"args": {
"size": 1,
"new_size": 2
},
"runner": {
"type": "constant",
"times": 2,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
}
},
{
"args": {
"size": {
"min": 1,
"max": 5
},
"new_size": {
"min": 6,
"max": 10
}
},
"runner": {
"type": "constant",
"times": 2,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
}
}
]
}