Update network context in selected rally tests 62/67462/1
authorJuha Kosonen <juha.kosonen@nokia.com>
Mon, 1 Apr 2019 09:35:22 +0000 (12:35 +0300)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 1 Apr 2019 21:46:15 +0000 (23:46 +0200)
Network context not needed in following scenarios:

NeutronNetworks.create_and_delete_routers
NeutronNetworks.create_and_list_routers
NeutronNetworks.create_and_list_subnets
NeutronNetworks.create_and_update_routers
NeutronNetworks.create_and_update_subnets
NeutronNetworks.create_and_show_routers

Router not needed in network context in following scenarios:

NeutronNetworks.create_and_update_ports
NeutronNetworks.create_and_delete_ports
NeutronNetworks.create_and_delete_subnets
NeutronNetworks.create_and_list_ports
NeutronNetworks.create_and_show_ports
NeutronNetworks.create_and_show_subnets

This completes the patch skipping router creation [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/67429/

Change-Id: I80ea145a21168fd984cc9ef88d50af227f0d6ed4
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit b4b2e7f9a5a3cb3379b45ac4ddd0ef949974a698)

functest/opnfv_tests/openstack/rally/scenario/full/opnfv-neutron.yaml
functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-neutron.yaml

index 2951e95..b8b1b9b 100644 (file)
@@ -27,7 +27,8 @@
         ports_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
+        network:
+          router: {}
         quotas:
           neutron:
             network: -1
@@ -50,7 +51,6 @@
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
         quotas:
           neutron:
             network: -1
@@ -74,7 +74,6 @@
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
         quotas:
           neutron:
             network: -1
         ports_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
+        network:
+          router: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
+        network:
+          router: {}
         quotas:
           neutron:
             network: -1
         ports_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
+        network:
+          router: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
         quotas:
           neutron:
             network: -1
         ports_per_network: 2
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
+        network:
+          router: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 2
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 2
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network: {}
+        network:
+          router: {}
         quotas:
           neutron:
             network: -1
index d045df3..3eb7652 100644 (file)
@@ -43,8 +43,6 @@
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network:
-          router: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network:
-          router: {}
         quotas:
           neutron:
             network: -1
         subnets_per_network: 1
       context:
         {% call user_context(tenants_amount, users_amount, use_existing_users) %}
-        network:
-          router: {}
         quotas:
           neutron:
             network: -1