aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI
diff options
context:
space:
mode:
authormorganrOL <morgan.richomme@orange.com>2015-04-29 17:56:09 +0200
committermorganrOL <morgan.richomme@orange.com>2015-04-29 17:56:09 +0200
commita3b51399ce0cb335f2e69dabbbc96ff8aa9c01bc (patch)
treec08054d2793295b06df0c11158d5e41a9fa586f4 /testcases/VIM/OpenStack/CI
parentbb0441a6727a6640d56f62038d90fe9b62071481 (diff)
add bench scenario for glance
JIRA: FUNCTEST-1 Change-Id: I454b5cb93a6fb8a3870615f5cfc5ad0e79dcb867 Signed-off-by: morganrOL <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/VIM/OpenStack/CI')
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-glance.json87
1 files changed, 87 insertions, 0 deletions
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-glance.json b/testcases/VIM/OpenStack/CI/suites/opnfv-glance.json
new file mode 100644
index 000000000..1359fff56
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-glance.json
@@ -0,0 +1,87 @@
+{
+ "GlanceImages.create_and_delete_image": [
+ {
+ "args": {
+ "image_location": "http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img",
+ "container_format": "bare",
+ "disk_format": "qcow2"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "GlanceImages.create_and_list_image": [
+ {
+ "args": {
+ "image_location": "http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img",
+ "container_format": "bare",
+ "disk_format": "qcow2"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ],
+ "GlanceImages.create_image_and_boot_instances": [
+ {
+ "args": {
+ "image_location": "http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img",
+ "container_format": "bare",
+ "disk_format": "qcow2",
+ "flavor": {
+ "name": "m1.nano"
+ },
+ "number_instances": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 5
+ }
+ }
+ }
+ ],
+ "GlanceImages.list_images": [
+ {
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 2
+ },
+ "images": {
+ "image_url": "http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img",
+ "image_type": "qcow2",
+ "image_container": "bare",
+ "images_per_tenant": 4
+ }
+ }
+ }
+ ]
+}