summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/tempest/tempest.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-09-22 10:49:14 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-09-22 16:57:14 +0200
commit5aac2291b5da7ca58b4fb1bc587f6230efa5a480 (patch)
tree11c9391bc754ea864705976f057e32422fceb423 /functest/opnfv_tests/openstack/tempest/tempest.py
parentd5e272c1ba513a171bf3798be38a6e8f655378d9 (diff)
Stop creating network resources in tempest
fixed_network_name is not used in neutron or nova gates [1]. It may bypass juju bug (subnet discovery). [1] http://logs.openstack.org/46/603046/1/check/tempest-full/a8468a1/controller/logs/tempest_conf.txt Change-Id: I820e8c723918ed683ed1f8016363eb70bad0d14a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ac31a32320122ea1683fe9884e5bf1f969678b03)
Diffstat (limited to 'functest/opnfv_tests/openstack/tempest/tempest.py')
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index 6692a6e10..02114feb2 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -36,7 +36,6 @@ class TempestCommon(singlevm.VmReady2):
"""TempestCommon testcases implementation class."""
visibility = 'public'
- shared_network = True
filename_alt = '/home/opnfv/functest/images/cirros-0.4.0-x86_64-disk.img'
def __init__(self, **kwargs):
@@ -79,6 +78,9 @@ class TempestCommon(singlevm.VmReady2):
self.image_alt = None
self.flavor_alt = None
+ def _create_network_resources(self):
+ pass
+
@staticmethod
def read_file(filename):
"""Read file and return content as a stripped list."""
@@ -337,7 +339,7 @@ class TempestCommon(singlevm.VmReady2):
self.conf_file = conf_utils.configure_verifier(self.deployment_dir)
conf_utils.configure_tempest_update_params(
- self.conf_file, network_name=self.network.name,
+ self.conf_file,
image_id=self.image.id,
flavor_id=self.flavor.id,
compute_cnt=compute_cnt,