diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-06 07:30:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-06 07:30:24 +0000 |
commit | d5f9c2da17a62a5402d0990fe174a7f7b971d9e0 (patch) | |
tree | a40c010b6a23bcdc024cd99b5b48f07c1521cb95 /testcases/config_functest.py | |
parent | 91a3e0ae28f0cbf224cabc7e3a0ebd5df2fcc0ba (diff) | |
parent | a215e9127631b428420ba9b89077271a161facc4 (diff) |
Merge "Using shared private network"
Diffstat (limited to 'testcases/config_functest.py')
-rwxr-xr-x | testcases/config_functest.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testcases/config_functest.py b/testcases/config_functest.py index 483c02c4..b4e29bf6 100755 --- a/testcases/config_functest.py +++ b/testcases/config_functest.py @@ -263,6 +263,13 @@ def create_private_neutron_net(neutron): if not network_id: return False logger.debug("Network '%s' created successfully" % network_id) + + logger.info('Updating neutron network %s...' % NEUTRON_PRIVATE_NET_NAME) + if functest_utils.update_neutron_net(neutron, network_id, shared=True): + logger.debug("Network '%s' updated successfully" % network_id) + else: + logger.info('Updating neutron network %s failed' % network_id) + logger.debug('Creating Subnet....') subnet_id = functest_utils. \ create_neutron_subnet(neutron, |