summaryrefslogtreecommitdiffstats
path: root/lib/python/apex
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-10-20 20:28:57 +0000
committerDan Radez <dradez@redhat.com>2016-10-20 20:28:57 +0000
commit71e6d415218ba10930752a0e241d670c6d5a8127 (patch)
treedfae1e88b391a464c996ef89ab36c5ab55247b53 /lib/python/apex
parent3228f00248cda32671fb0e6a02059bea6ae66c99 (diff)
Revert "Add ability to configure allowed vlan ranges in deploy configuration"
This reverts commit 3228f00248cda32671fb0e6a02059bea6ae66c99. There is more settings that will need to added for the functionality this patch it intending to add. The JIRA will be updated and the feature will be worked on for Danube. Change-Id: I258ba552cbb49e6fa188a8dffe860e8dac2e3f5f Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib/python/apex')
-rw-r--r--lib/python/apex/network_environment.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/python/apex/network_environment.py b/lib/python/apex/network_environment.py
index bbe8ee6b..5cb2d0cd 100644
--- a/lib/python/apex/network_environment.py
+++ b/lib/python/apex/network_environment.py
@@ -116,12 +116,6 @@ class NetworkEnvironment(dict):
'end': str(tenant_range[1])}]
tenant_cidr = nets[TENANT_NETWORK]['cidr']
self[param_def]['TenantNetCidr'] = str(tenant_cidr)
- if 'vlan_id_range' in nets[TENANT_NETWORK].keys():
- tenant_vlan_range = \
- nets[TENANT_NETWORK]['vlan_id_range'].split(',')
- self[param_def]['NeutronNetworkVLANRanges'] = \
- "datacentre:" + tenant_vlan_range[0] + ':' \
- + tenant_vlan_range[1]
if tenant_cidr.version == 6:
postfix = '/tenant_v6.yaml'
else: