From a3b51399ce0cb335f2e69dabbbc96ff8aa9c01bc Mon Sep 17 00:00:00 2001 From: morganrOL Date: Wed, 29 Apr 2015 17:56:09 +0200 Subject: add bench scenario for glance JIRA: FUNCTEST-1 Change-Id: I454b5cb93a6fb8a3870615f5cfc5ad0e79dcb867 Signed-off-by: morganrOL --- .../VIM/OpenStack/CI/suites/opnfv-glance.json | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 testcases/VIM/OpenStack/CI/suites/opnfv-glance.json 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 + } + } + } + ] +} -- cgit 1.2.3-korg