Add overlay_ip_version config for IPv6 tenant networks 35/38535/2
authorFeng Pan <fpan@redhat.com>
Mon, 31 Jul 2017 17:33:36 +0000 (13:33 -0400)
committerFeng Pan <fpan@redhat.com>
Tue, 1 Aug 2017 17:55:25 +0000 (13:55 -0400)
Change-Id: I03b28bdcc6d0649920fd58fb3400b2a4e5891e68
Signed-off-by: Feng Pan <fpan@redhat.com>
config/network/network_settings_v6.yaml
lib/python/apex/network_environment.py

index c7e808c..5725763 100644 (file)
@@ -107,7 +107,7 @@ networks:
   tenant:
     enabled: true
     # Subnet in CIDR format 192.168.1.0/24
-    cidr: 11.0.0.0/24
+    cidr: fd00:fd00:fd00:6000::/64
     # Tenant network MTU
     mtu: 1500
     # Tenant network Overlay segmentation ID range:
@@ -222,7 +222,7 @@ networks:
     # Subnet in CIDR format
     cidr: fd00:fd00:fd00:4000::/64
     # VLAN tag to use for Overcloud hosts on this network
-    vlan: 13
+    #vlan: 13
     # Api network MTU
     mtu: 1500
     # Mapping of network configuration for Overcloud Nodes
index dbe89b2..dd9530b 100644 (file)
@@ -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'