add bench scenario for glance 36/436/1
authormorganrOL <morgan.richomme@orange.com>
Wed, 29 Apr 2015 15:56:09 +0000 (17:56 +0200)
committermorganrOL <morgan.richomme@orange.com>
Wed, 29 Apr 2015 15:56:09 +0000 (17:56 +0200)
JIRA: FUNCTEST-1

Change-Id: I454b5cb93a6fb8a3870615f5cfc5ad0e79dcb867
Signed-off-by: morganrOL <morgan.richomme@orange.com>
testcases/VIM/OpenStack/CI/suites/opnfv-glance.json [new file with mode: 0644]

diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-glance.json b/testcases/VIM/OpenStack/CI/suites/opnfv-glance.json
new file mode 100644 (file)
index 0000000..1359fff
--- /dev/null
@@ -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
+                }
+            }
+        }
+    ]
+}