Stop setting floating_ips in tempest_conf.yaml 20/71620/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 4 Dec 2020 12:01:32 +0000 (13:01 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 4 Dec 2020 12:07:20 +0000 (13:07 +0100)
It's now handled by tempest.py

Change-Id: Iaeefd70f95a3c64c7ca41b984e934c4aeadea8ab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 47e7b7c59998dfaa76ac8e4c48b47a75538ac90a)

docker/smoke-cntt/tempest_conf.yaml
functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml
functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf_ovn.yaml
functest/opnfv_tests/openstack/tempest/tempest.py

index 022f0fe..cb63bd0 100644 (file)
@@ -52,7 +52,6 @@ image-feature-enabled:
 network-feature-enabled:
     port_admin_state_change: true
     port_security: true
-    floating_ips: true
 placement:
     max_microversion: 1.36
 validation:
index 1bf1d7a..ac09ffc 100644 (file)
@@ -52,7 +52,6 @@ image-feature-enabled:
 network-feature-enabled:
     port_admin_state_change: true
     port_security: true
-    floating_ips: true
 placement:
     max_microversion: 1.36
 validation:
index bae26c1..131b9dc 100644 (file)
@@ -52,7 +52,6 @@ image-feature-enabled:
 network-feature-enabled:
     port_admin_state_change: true
     port_security: true
-    floating_ips: true
 placement:
     max_microversion: 1.36
 validation:
index ed3c476..c1c6b89 100644 (file)
@@ -507,6 +507,7 @@ class TempestCommon(singlevm.VmReady2):
                 rconfig.add_section('network')
             rconfig.set('network', 'public_network_id', self.ext_net.id)
             rconfig.set('network', 'floating_network_name', self.ext_net.name)
+            rconfig.set('network-feature-enabled', 'floating_ips', True)
         else:
             if not rconfig.has_section('network-feature-enabled'):
                 rconfig.add_section('network-feature-enabled')