summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI
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
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')
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-authenticate.json107
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-cinder.json325
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-heat.json238
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-keystone.json76
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-neutron.json336
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-nova.json452
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-quotas.json93
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-tempest.json13
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-vm.json66
9 files changed, 1706 insertions, 0 deletions
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-authenticate.json b/testcases/VIM/OpenStack/CI/suites/opnfv-authenticate.json
new file mode 100644
index 000000000..3ded19963
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-authenticate.json
@@ -0,0 +1,107 @@
+{
+ "Authenticate.keystone": [
+ {
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 50
+ }
+ }
+ }
+ ],
+ "Authenticate.validate_cinder": [
+ {
+ "args": {
+ "repetitions": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 5
+ }
+ }
+ }
+ ],
+ "Authenticate.validate_glance": [
+ {
+ "args": {
+ "repetitions": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 5
+ }
+ }
+ }
+ ],
+ "Authenticate.validate_heat": [
+ {
+ "args": {
+ "repetitions": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 5
+ }
+ }
+ }
+ ],
+ "Authenticate.validate_neutron": [
+ {
+ "args": {
+ "repetitions": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 5
+ }
+ }
+ }
+ ],
+ "Authenticate.validate_nova": [
+ {
+ "args": {
+ "repetitions": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 5
+ }
+ }
+ }
+ ]
+}
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
+ }
+ }
+ }
+ ]
+}
+
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-heat.json b/testcases/VIM/OpenStack/CI/suites/opnfv-heat.json
new file mode 100644
index 000000000..2fbb70fba
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-heat.json
@@ -0,0 +1,238 @@
+{
+ "HeatStacks.create_and_delete_stack": [
+ {
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_and_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/server_with_ports.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_and_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/server_with_volume.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_and_list_stack": [
+ {
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_check_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/random_strings.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_suspend_resume_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/random_strings.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_update_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/random_strings.yaml.template",
+ "updated_template_path": "templates/updated_random_strings_add.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_update_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/random_strings.yaml.template",
+ "updated_template_path": "templates/updated_random_strings_delete.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_update_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/resource_group.yaml.template",
+ "updated_template_path": "templates/updated_resource_group_increase.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_update_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/autoscaling_policy.yaml.template",
+ "updated_template_path": "templates/updated_autoscaling_policy_inplace.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_update_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/resource_group.yaml.template",
+ "updated_template_path": "templates/updated_resource_group_reduce.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.create_update_delete_stack": [
+ {
+ "args": {
+ "template_path": "templates/random_strings.yaml.template",
+ "updated_template_path": "templates/updated_random_strings_replace.yaml.template"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 3
+ }
+ }
+ }
+ ],
+ "HeatStacks.list_stacks_and_resources": [
+ {
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "stacks": {
+ "stacks_per_tenant": 2,
+ "resources_per_stack": 10
+ }
+ }
+ }
+ ]
+}
+
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-keystone.json b/testcases/VIM/OpenStack/CI/suites/opnfv-keystone.json
new file mode 100644
index 000000000..390a1ae13
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-keystone.json
@@ -0,0 +1,76 @@
+{
+ "KeystoneBasic.create_delete_user": [
+ {
+ "args": {
+ "name_length": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ }
+ }
+ ],
+ "KeystoneBasic.create_and_list_tenants": [
+ {
+ "args": {
+ "name_length": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 1
+ }
+ }
+ ],
+ "KeystoneBasic.create_and_list_users": [
+ {
+ "args": {
+ "name_length": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ }
+ }
+ ],
+ "KeystoneBasic.create_tenant": [
+ {
+ "args": {
+ "name_length": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ }
+ }
+ ],
+ "KeystoneBasic.create_user": [
+ {
+ "args": {
+ "name_length": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ }
+ }
+ ],
+ "KeystoneBasic.create_tenant_with_users": [
+ {
+ "args": {
+ "name_length": 10,
+ "users_per_tenant": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 10
+ }
+ }
+ ]
+}
+
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-neutron.json b/testcases/VIM/OpenStack/CI/suites/opnfv-neutron.json
new file mode 100644
index 000000000..5d176ca0d
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-neutron.json
@@ -0,0 +1,336 @@
+{
+ "NeutronNetworks.create_and_delete_networks": [
+ {
+ "args": {
+ "network_create_args": {}
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_delete_ports": [
+ {
+ "args": {
+ "network_create_args": {},
+ "port_create_args": {},
+ "ports_per_network": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "port": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_delete_routers": [
+ {
+ "args": {
+ "network_create_args": {},
+ "subnet_create_args": {},
+ "subnet_cidr_start": "1.1.0.0/30",
+ "subnets_per_network": 2,
+ "router_create_args": {}
+ },
+ "runner": {
+ "type": "constant",
+ "times": 30,
+ "concurrency": 10
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "subnet": -1,
+ "router": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_delete_subnets": [
+ {
+ "args": {
+ "network_create_args": {},
+ "subnet_create_args": {},
+ "subnet_cidr_start": "1.1.0.0/30",
+ "subnets_per_network": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "subnet": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_list_networks": [
+ {
+ "args": {
+ "network_create_args": {}
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_list_ports": [
+ {
+ "args": {
+ "network_create_args": {},
+ "port_create_args": {},
+ "ports_per_network": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "port": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_list_routers": [
+ {
+ "args": {
+ "network_create_args": {},
+ "subnet_create_args": {},
+ "subnet_cidr_start": "1.1.0.0/30",
+ "subnets_per_network": 2,
+ "router_create_args": {}
+ },
+ "runner": {
+ "type": "constant",
+ "times": 100,
+ "concurrency": 10
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "subnet": -1,
+ "router": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_list_subnets": [
+ {
+ "args": {
+ "network_create_args": {},
+ "subnet_create_args": {},
+ "subnet_cidr_start": "1.1.0.0/30",
+ "subnets_per_network": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 5,
+ "users_per_tenant": 5
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "subnet": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_update_networks": [
+ {
+ "args": {
+ "network_update_args": {
+ "admin_state_up": false,
+ "name": "_updated"
+ },
+ "network_create_args": {}
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_update_ports": [
+ {
+ "args": {
+ "network_create_args": {},
+ "port_create_args": {},
+ "port_update_args": {
+ "admin_state_up": false,
+ "device_id": "dummy_id",
+ "device_owner": "dummy_owner",
+ "name": "_port_updated"
+ },
+ "ports_per_network": 5
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "port": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_update_routers": [
+ {
+ "args": {
+ "network_create_args": {},
+ "subnet_create_args": {},
+ "subnet_cidr_start": "1.1.0.0/30",
+ "subnets_per_network": 2,
+ "router_create_args": {},
+ "router_update_args": {
+ "admin_state_up": false,
+ "name": "_router_updated"
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "subnet": -1,
+ "router": -1
+ }
+ }
+ }
+ }
+ ],
+ "NeutronNetworks.create_and_update_subnets": [
+ {
+ "args": {
+ "subnet_update_args": {
+ "enable_dhcp": false,
+ "name": "_subnet_updated"
+ },
+ "network_create_args": {},
+ "subnet_create_args": {},
+ "subnet_cidr_start": "1.4.0.0/16",
+ "subnets_per_network": 2
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 5,
+ "users_per_tenant": 5
+ },
+ "quotas": {
+ "neutron": {
+ "network": -1,
+ "subnet": -1
+ }
+ }
+ }
+ }
+ ]
+}
+
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-nova.json b/testcases/VIM/OpenStack/CI/suites/opnfv-nova.json
new file mode 100644
index 000000000..74ea15f3b
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-nova.json
@@ -0,0 +1,452 @@
+{
+ "NovaServers.boot_and_delete_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "force_delete": false
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaKeypair.boot_and_delete_server_with_keypair": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 5,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 1
+ },
+ "network": {
+ "start_cidr": "100.1.0.0/26"
+ }
+ }
+ }
+ ],
+ "NovaSecGroup.boot_and_delete_server_with_secgroups": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "security_group_count": 10,
+ "rules_per_security_group": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ },
+ "network": {
+ "start_cidr": "100.1.0.0/26"
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_and_list_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "detailed": true
+ },
+ "runner": {
+ "type": "constant",
+ "times": 1,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_and_live_migrate_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "block_migration": false
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_and_migrate_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_and_bounce_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "force_delete": false,
+ "actions": [
+ {"hard_reboot": 1},
+ {"soft_reboot": 1},
+ {"stop_start": 1},
+ {"rescue_unrescue": 1}
+ ]
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_server_from_volume_and_delete": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "volume_size": 10,
+ "force_delete": false
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_server_from_volume": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "volume_size": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_server_attach_created_volume_and_live_migrate": [
+ {
+ "args": {
+ "size": 10,
+ "block_migration": false,
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "flavor": {
+ "name": "m1.small"
+ }
+ },
+ "runner": {
+ "type": "constant",
+ "times": 5,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 2,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaServers.boot_server_from_volume_and_live_migrate": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "block_migration": false,
+ "volume_size": 10,
+ "force_delete": false
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ],
+ "NovaServers.snapshot_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "force_delete": false
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaKeypair.create_and_delete_keypair": [
+ {
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaSecGroup.create_and_delete_secgroups": [
+ {
+ "args": {
+ "security_group_count": 10,
+ "rules_per_security_group": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaKeypair.create_and_list_keypairs": [
+ {
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaSecGroup.create_and_list_secgroups": [
+ {
+ "args": {
+ "security_group_count": 10,
+ "rules_per_security_group": 10
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaServers.list_servers": [
+ {
+ "args": {
+ "detailed": true
+ },
+ "runner": {
+ "type": "constant",
+ "times": 1,
+ "concurrency": 1
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ },
+ "servers": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "servers_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "NovaServers.resize_server": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "to_flavor": {
+ "name": "m1.small"
+ },
+ "confirm": true,
+ "force_delete": false
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 5
+ },
+ "context": {
+ "users": {
+ "tenants": 1,
+ "users_per_tenant": 1
+ }
+ }
+ }
+ ]
+}
+
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-quotas.json b/testcases/VIM/OpenStack/CI/suites/opnfv-quotas.json
new file mode 100644
index 000000000..1778a8dd0
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-quotas.json
@@ -0,0 +1,93 @@
+{
+ "Quotas.cinder_update_and_delete": [
+ {
+ "args": {
+ "max_quota": 1024
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "Quotas.cinder_update": [
+ {
+ "args": {
+ "max_quota": 1024
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "Quotas.neutron_update": [
+ {
+ "args": {
+ "max_quota": 1024
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "Quotas.nova_update_and_delete": [
+ {
+ "args": {
+ "max_quota": 1024
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ],
+ "Quotas.nova_update": [
+ {
+ "args": {
+ "max_quota": 1024
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ]
+}
+
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-tempest.json b/testcases/VIM/OpenStack/CI/suites/opnfv-tempest.json
new file mode 100644
index 000000000..0b63070a0
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-tempest.json
@@ -0,0 +1,13 @@
+{
+ "TempestScenario.all": [
+ {
+ "args": {"tempest_conf": "/etc/tempest/tempest.conf"},
+ "runner": {
+ "type": "constant",
+ "times": 1,
+ "concurrency": 1
+ }
+ }
+ ]
+}
+
diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-vm.json b/testcases/VIM/OpenStack/CI/suites/opnfv-vm.json
new file mode 100644
index 000000000..1524d5bf6
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/suites/opnfv-vm.json
@@ -0,0 +1,66 @@
+{
+ "VMTasks.boot_runcommand_delete": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "floating_network": "public",
+ "force_delete": false,
+ "script": "samples/tasks/support/instance_dd_test.sh",
+ "interpreter": "/bin/sh",
+ "username": "ubuntu"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ },
+ "network": {
+ }
+ }
+ }
+ ],
+ "VMTasks.boot_runcommand_delete": [
+ {
+ "args": {
+ "flavor": {
+ "name": "m1.small"
+ },
+ "image": {
+ "name": "^Ubuntu*"
+ },
+ "volume_args": {
+ "size": 2
+ },
+ "fixed_network": "private",
+ "floating_network": "public",
+ "use_floatingip": true,
+ "force_delete": false,
+ "script": "samples/tasks/support/instance_dd_test.sh",
+ "interpreter": "/bin/sh",
+ "username": "ubuntu"
+ },
+ "runner": {
+ "type": "constant",
+ "times": 10,
+ "concurrency": 2
+ },
+ "context": {
+ "users": {
+ "tenants": 3,
+ "users_per_tenant": 2
+ }
+ }
+ }
+ ]
+}
+