summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json
diff options
context:
space:
mode:
authormorganrOL <morgan.richomme@orange.com>2015-04-09 15:47:15 +0200
committermorganrOL <morgan.richomme@orange.com>2015-04-09 15:49:18 +0200
commit6f1c45ea2b7193ffb9d89c778d54fee304499bf8 (patch)
treedd989d6f7be9f17d1d907d0bb779df8035348e6d /testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json
parent07fd31290bbdf30d2fc35ee340f957a0133762d1 (diff)
Add Rally based bench scenario for OPNFV
Add md document to explain how to install Rally and run test manually towards OPNFV solution JIRA:FUNCTEST-1 Change-Id: I8ea1b8907b339ae77b6726ec94b1ff0553cbb1cd Signed-off-by: morganrOL <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json')
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json325
1 files changed, 325 insertions, 0 deletions
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json b/testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json
new file mode 100644
index 000000000..b65dd3b2c
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json
@@ -0,0 +1,325 @@
+{
+ "CinderVolumes.create_and_attach_volume": [
+ {
+ "args": {
+ "size": 10,
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "flavor": {
+ "name": "m1.tiny"
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 5,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "CinderVolumes.create_and_delete_snapshot": [
+ {
+ "args": {
+ "force": false
+ },
+ "runner": {
+ "type": "constant",
+ "times": 3,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 2
+ },
+ "volumes": {
+ "size": 1
+ }
+ }
+ }
+ ],
+ "CinderVolumes.create_and_delete_volume": [
+ {
+ "args": {
+ "size": 1
+ },
+ "runner": {
+ "type": "constant",
+ "times": 3,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "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
+ }
+ }
+ }
+ ],
+ "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
+ }
+ }
+ }
+ ],
+ "CinderVolumes.create_and_list_volume": [
+ {
+ "args": {
+ "size": 1,
+ "detailed": true
+ },
+ "runner": {
+ "type": "constant",
+ "times": 3,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ],
+ "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
+ }
+ }
+ }
+ ],
+ "CinderVolumes.create_and_delete_volume": [
+ {
+ "args": {
+ "size": 1,
+ "image": {
+ "name": "^Ubuntu*"
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 2,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "CinderVolumes.create_from_volume_and_delete_volume": [
+ {
+ "args": {
+ "size": 1
+ },
+ "runner": {
+ "type": "constant",
+ "times": 2,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "volumes": {
+ "size": 1
+ }
+ }
+ }
+ ],
+ "CinderVolumes.create_nested_snapshots_and_attach_volume": [
+ {
+ "args": {
+ "size": {
+ "min": 1,
+ "max": 5
+ },
+ "nested_level": {
+ "min": 5,
+ "max": 10
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 1,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 1
+ },
+ "servers": {
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "flavor": {
+ "name": "m1.tiny"
+ },
+ "servers_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "CinderVolumes.create_snapshot_and_attach_volume": [
+ {
+ "args": {
+ "volume_type": false,
+ "size": {
+ "min": 1,
+ "max": 5
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 4,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 1
+ },
+ "servers": {
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "flavor": {
+ "name": "m1.tiny"
+ },
+ "servers_per_tenant": 2
+ }
+ }
+ },
+ {
+ "args": {
+ "volume_type": true,
+ "size": {
+ "min": 1,
+ "max": 5
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 4,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 1
+ },
+ "servers": {
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "flavor": {
+ "name": "m1.tiny"
+ },
+ "servers_per_tenant": 2
+ }
+ }
+ }
+
+ ],
+ "CinderVolumes.create_volume": [
+ {
+ "args": {
+ "size": 1
+ },
+ "runner": {
+ "type": "constant",
+ "times": 3,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "CinderVolumes.list_volumes": [
+ {
+ "args": {
+ "detailed": true
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "volumes": {
+ "size": 1,
+ "volumes_per_tenant": 4
+ }
+ }
+ }
+ ]
+}
+