diff --git a/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.json b/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.json new file mode 100644 index 00000000..ee9344a9 --- /dev/null +++ b/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.json @@ -0,0 +1,24 @@ +{ + "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 + } + } + } + ] +} diff --git a/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.yaml b/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.yaml new file mode 100644 index 00000000..42f631e7 --- /dev/null +++ b/samples/tasks/scenarios/cinder/create-and-upload-volume-to-image.yaml @@ -0,0 +1,17 @@ +--- + 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