From 488d5c8496fb7c8259a9aeef9f2ad6d437f3aeae Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Mon, 29 Jan 2018 01:39:58 +0000 Subject: Create subnet and net within the same project It is required to create a network and subnet within the same project for some SUTs. Change-Id: Icd02edb0aebee93713f315cdbbeb021e9ae82dae Signed-off-by: Linda Wang (cherry picked from commit f06d3e13cdee669e53f6a1c75039c9b3c3430a8a) --- functest/opnfv_tests/openstack/tempest/tempest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index f4b77936a..fed4c7ca8 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -371,6 +371,7 @@ class TempestResourcesManager(object): subnet_settings=[SubnetSettings( name=CONST.__getattribute__( 'tempest_private_subnet_name') + self.guid, + project_name=project_name, cidr=CONST.__getattribute__('tempest_private_subnet_cidr')) ])) if network_creator is None or network_creator.get_network() is None: -- cgit 1.2.3-korg