summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/suites/opnfv-nova.json
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/suites/opnfv-nova.json
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/suites/opnfv-nova.json')
-rw-r--r--testcases/VIM/OpenStack/CI/suites/opnfv-nova.json452
1 files changed, 452 insertions, 0 deletions
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
+ }
+ }
+ }
+ ]
+}
+