diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-22 10:49:14 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-09-22 10:53:38 +0200 |
commit | ac31a32320122ea1683fe9884e5bf1f969678b03 (patch) | |
tree | 31d93aedb062b62a1369f20e56d0554c00c14adc /functest/opnfv_tests/openstack/tempest/tempest.py | |
parent | 7236c6b9173550ecb8419eccfd053e7b44b2d379 (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>
Diffstat (limited to 'functest/opnfv_tests/openstack/tempest/tempest.py')
-rw-r--r-- | functest/opnfv_tests/openstack/tempest/tempest.py | 6 |
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 da22d69a9..1307e32bc 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): @@ -93,6 +92,9 @@ class TempestCommon(singlevm.VmReady2): except Exception: # pylint: disable=broad-except pass + def create_network_resources(self): + pass + def check_services(self): """Check the mandatory services.""" for service in self.services: @@ -398,7 +400,7 @@ class TempestCommon(singlevm.VmReady2): if not self.conf_file: raise Exception("Tempest verifier configuring failed") 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, |