diff options
author | Linda Wang <wangwulin@huawei.com> | 2018-01-29 01:39:58 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2018-01-29 01:39:58 +0000 |
commit | f06d3e13cdee669e53f6a1c75039c9b3c3430a8a (patch) | |
tree | 8f2276fb51dcc2ea0a491f809c7e83188ae20082 /functest/opnfv_tests | |
parent | c78fcdeed0ed74661484082801f16c14586b75d4 (diff) |
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 <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests')
-rw-r--r-- | functest/opnfv_tests/openstack/tempest/tempest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index 5481b13b..4361784b 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -389,6 +389,7 @@ class TempestResourcesManager(object): subnet_settings=[SubnetConfig( 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: |