rally-openstack/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.json
chenhb-zte 5825265698 Add the argument image into create_and_upload_volume_to_image
I think it is better to add the argument image to create_and_upload_volume_to_image.
Now possibly upload a empty volume to image, it is meaningless to the business.

Closes-Bug: #1582117
Change-Id: Ie10d17a422fb5b1635dd8d6d7e235e7327843f17
2016-05-19 09:25:44 -04:00

54 lines
1.3 KiB
JSON

{
"CinderVolumes.create_and_upload_volume_to_image": [
{
"args": {
"size": 1,
"force": false,
"container_format": "bare",
"disk_format": "raw",
"do_delete": true,
"image": {
"name": "^cirros.*uec$"
}
},
"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,
"image": {
"name": "^cirros.*uec$"
}
},
"runner": {
"type": "constant",
"times": 3,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
}
]
}