summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-07-31 13:33:36 -0400
committerFeng Pan <fpan@redhat.com>2017-08-01 13:55:25 -0400
commit73dac8ac292bfbb16721549d41a4328dcb20e30e (patch)
tree66557b7c8e644eaa5dd334de5ba15ffc18ba4b1f /lib
parentd2ad6082c4499cd6b49b0963bf06fb912a6dd5ca (diff)
Add overlay_ip_version config for IPv6 tenant networks
Change-Id: I03b28bdcc6d0649920fd58fb3400b2a4e5891e68 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'lib')
-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..dd9530b8 100644
--- a/lib/python/apex/network_environment.py
+++ b/lib/python/apex/network_environment.py
@@ -120,6 +120,8 @@ class NetworkEnvironment(dict):
self[param_def]['TenantNetCidr'] = str(tenant_cidr)
if tenant_cidr.version == 6:
postfix = '/tenant_v6.yaml'
+ # set overlay_ip_version option in Neutron ML2 config
+ self[param_def]['NeutronOverlayIPVersion'] = "6"
else:
postfix = '/tenant.yaml'