diff options
author | morganrOL <morgan.richomme@orange.com> | 2015-04-09 16:37:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-04-09 16:37:59 +0000 |
commit | fdcd95d7510faf9190f31850382beeb1580a2c7b (patch) | |
tree | f26ed664f02a7d29b0c2226d8d489b3308cc9789 /testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json | |
parent | 2721defe5e2761c62b2de6504c813f051ea28719 (diff) | |
parent | 6f1c45ea2b7193ffb9d89c778d54fee304499bf8 (diff) |
Merge "Add Rally based bench scenario for OPNFV Add md document to explain how to install Rally and run test manually towards OPNFV solution"
Diffstat (limited to 'testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json')
-rw-r--r-- | testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json | 325 |
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 + } + } + } + ] +} + |