summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2016-04-22 07:21:29 +0000
committerJuha Kosonen <juha.kosonen@nokia.com>2016-04-22 13:44:53 +0000
commit9d597b415d92afca3b1b4bbacbb8f6276a25921a (patch)
tree857a417ae4f089f421fe47ca2bbdb331f8716f51 /testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
parentade54b8ec63fc674cfd7d7e0a893b7e34f6b44b1 (diff)
Introduce a sanity test mode for Rally test
In a sanity test mode the number of iterations is reduced and only a subset of tests is executed. JIRA: FUNCTEST-220 Change-Id: I722f12b8cc6df29bfcb81b8798d8d0802b207d94 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Diffstat (limited to 'testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml')
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml57
1 files changed, 31 insertions, 26 deletions
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
index 3cdba95c7..3804d2589 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
@@ -1,7 +1,13 @@
- NeutronNetworks.create_and_delete_networks:
+{# all scenarios included only in full mode #}
+
+{% if full_mode %}
+
+ NeutronNetworks.create_and_update_networks:
-
args:
network_create_args: {}
+ network_update_args:
+ admin_state_up: false
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
quotas:
@@ -13,11 +19,15 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_delete_ports:
+ 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"
ports_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
@@ -32,11 +42,13 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_delete_routers:
+ NeutronNetworks.create_and_update_routers:
-
args:
network_create_args: {}
router_create_args: {}
+ router_update_args:
+ admin_state_up: false
subnet_cidr_start: "1.1.0.0/30"
subnet_create_args: {}
subnets_per_network: 1
@@ -55,12 +67,14 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_delete_subnets:
+ NeutronNetworks.create_and_update_subnets:
-
args:
network_create_args: {}
- subnet_cidr_start: "1.1.0.0/30"
+ subnet_cidr_start: "1.4.0.0/16"
subnet_create_args: {}
+ subnet_update_args:
+ enable_dhcp: false
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
@@ -75,7 +89,9 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_list_networks:
+{% endif %}
+
+ NeutronNetworks.create_and_delete_networks:
-
args:
network_create_args: {}
@@ -90,7 +106,7 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_list_ports:
+ NeutronNetworks.create_and_delete_ports:
-
args:
network_create_args: {}
@@ -109,7 +125,7 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_list_routers:
+ NeutronNetworks.create_and_delete_routers:
-
args:
network_create_args: {}
@@ -124,6 +140,7 @@
neutron:
network: -1
subnet: -1
+ port: -1
router: -1
{% endcall %}
runner:
@@ -131,7 +148,7 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_list_subnets:
+ NeutronNetworks.create_and_delete_subnets:
-
args:
network_create_args: {}
@@ -151,12 +168,10 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_update_networks:
+ NeutronNetworks.create_and_list_networks:
-
args:
network_create_args: {}
- network_update_args:
- admin_state_up: false
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
quotas:
@@ -168,15 +183,11 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_update_ports:
+ NeutronNetworks.create_and_list_ports:
-
args:
network_create_args: {}
port_create_args: {}
- port_update_args:
- admin_state_up: false
- device_id: "dummy_id"
- device_owner: "dummy_owner"
ports_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
@@ -191,13 +202,11 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_update_routers:
+ NeutronNetworks.create_and_list_routers:
-
args:
network_create_args: {}
router_create_args: {}
- router_update_args:
- admin_state_up: false
subnet_cidr_start: "1.1.0.0/30"
subnet_create_args: {}
subnets_per_network: 1
@@ -208,7 +217,6 @@
neutron:
network: -1
subnet: -1
- port: -1
router: -1
{% endcall %}
runner:
@@ -216,14 +224,12 @@
sla:
{{ no_failures_sla() }}
- NeutronNetworks.create_and_update_subnets:
+ NeutronNetworks.create_and_list_subnets:
-
args:
network_create_args: {}
- subnet_cidr_start: "1.4.0.0/16"
+ subnet_cidr_start: "1.1.0.0/30"
subnet_create_args: {}
- subnet_update_args:
- enable_dhcp: false
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
@@ -237,4 +243,3 @@
{{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
sla:
{{ no_failures_sla() }}
-