From 19090891380fe9d1facd32a2a034131c76f2a2e8 Mon Sep 17 00:00:00 2001 From: Yuriy Nesenenko Date: Mon, 19 Jan 2015 13:17:33 +0000 Subject: [PATCH] Add list_snapshots scenario for Cinder test Change-Id: I7e8bb7880f2e004332ea0e11c54e7242d89744c9 --- rally-jobs/rally-neutron.yaml | 19 +++++++++++++++ .../cinder/create-and-list-snapshots.json | 24 +++++++++++++++++++ .../cinder/create-and-list-snapshots.yaml | 16 +++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 samples/tasks/scenarios/cinder/create-and-list-snapshots.json create mode 100644 samples/tasks/scenarios/cinder/create-and-list-snapshots.yaml diff --git a/rally-jobs/rally-neutron.yaml b/rally-jobs/rally-neutron.yaml index 035f95b6..e5ba3d40 100644 --- a/rally-jobs/rally-neutron.yaml +++ b/rally-jobs/rally-neutron.yaml @@ -574,6 +574,25 @@ failure_rate: max: 0 + CinderVolumes.create_and_list_snapshots: + - + args: + force: False + detailed: True + runner: + type: "constant" + times: 2 + concurrency: 2 + context: + users: + tenants: 1 + users_per_tenant: 1 + volumes: + size: 1 + sla: + failure_rate: + max: 0 + VMTasks.boot_runcommand_delete: - args: diff --git a/samples/tasks/scenarios/cinder/create-and-list-snapshots.json b/samples/tasks/scenarios/cinder/create-and-list-snapshots.json new file mode 100644 index 00000000..6853645b --- /dev/null +++ b/samples/tasks/scenarios/cinder/create-and-list-snapshots.json @@ -0,0 +1,24 @@ +{ + "CinderVolumes.create_and_list_snapshots": [ + { + "args": { + "force": false, + "detailed": true + }, + "runner": { + "type": "constant", + "times": 2, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 1, + "users_per_tenant": 1 + }, + "volumes": { + "size": 1 + } + } + } + ] +} diff --git a/samples/tasks/scenarios/cinder/create-and-list-snapshots.yaml b/samples/tasks/scenarios/cinder/create-and-list-snapshots.yaml new file mode 100644 index 00000000..a5d1e975 --- /dev/null +++ b/samples/tasks/scenarios/cinder/create-and-list-snapshots.yaml @@ -0,0 +1,16 @@ +--- + CinderVolumes.create_and_list_snapshots: + - + args: + force: False + detailed: True + runner: + type: "constant" + times: 2 + concurrency: 2 + context: + users: + tenants: 1 + users_per_tenant: 1 + volumes: + size: 1