summaryrefslogtreecommitdiffstats
path: root/lib/python/apex
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-05-17 08:09:21 -0400
committerFeng Pan <fpan@redhat.com>2017-05-28 23:44:28 -0400
commit91290a177c3ea70f14fa086cbe618d1b70eb2fe6 (patch)
tree19c22726c374e2c6a286476a243c7a120f3798a2 /lib/python/apex
parentc9c7bad8f5fc1ac458db50dd1882e5075871a15c (diff)
Add overlay_ip_version config for IPv6 tenant networks
JIRA: APEX-443 opnfv-tht-pr: 133 Change-Id: I03b28bdcc6d0649920fd58fb3400b2a4e5891e68 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'lib/python/apex')
-rw-r--r--lib/python/apex/network_environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/apex/network_environment.py b/lib/python/apex/network_environment.py
index dbe89b21..211fe682 100644
--- a/lib/python/apex/network_environment.py
+++ b/lib/python/apex/network_environment.py
@@ -120,6 +120,7 @@ class NetworkEnvironment(dict):
self[param_def]['TenantNetCidr'] = str(tenant_cidr)
if tenant_cidr.version == 6:
postfix = '/tenant_v6.yaml'
+ self[param_def]['NeutronOverlayIPVersion'] = '"6"'
else:
postfix = '/tenant.yaml'
@@ -161,6 +162,7 @@ class NetworkEnvironment(dict):
self[param_def]['InternalApiNetCidr'] = str(api_cidr)
if api_cidr.version == 6:
postfix = '/internal_api_v6.yaml'
+ # set overlay_ip_version option in Neutron ML2 config
else:
postfix = '/internal_api.yaml'
api_vlan = self._get_vlan(nets[API_NETWORK])