Clarifies ip ranges in network settings 73/23673/2
authorTim Rozet <trozet@redhat.com>
Mon, 24 Oct 2016 18:31:35 +0000 (14:31 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 25 Oct 2016 19:26:04 +0000 (19:26 +0000)
Also includes other various fixes.

JIRA: APEX-292

Change-Id: I5e8cedce5af43544963c1e7de582e7646b1c841a
Signed-off-by: Tim Rozet <trozet@redhat.com>
config/network/network_settings.yaml
config/network/network_settings_v6.yaml
config/network/network_settings_vlans.yaml

index f768064..586e4c1 100644 (file)
@@ -92,17 +92,23 @@ storage_network:
 #admin_network:
 #  enabled: true
 #  network_type: bridged                             #Indicates if this network will be bridged to an interface, or to a bond
-#  bridged_interface: ''                             #Interface to bridge to for installer VM
+#  bridged_interface: ''                             #Interface to bridge to for installer VM on the jumphost
 #  bond_interfaces: ''                               #Interfaces to create bond with for installer VM
-#  compute_interface: nic4                           #Interface used for this network on the compute node.  Can either be logical nic name like "nic1" or real name like "eth1"
-#  controller_interface: nic4                        #Interface used for this network on the controller node.  Can either be logical nic name like "nic1" or real name like "eth1"
+#  compute_interface: nic4                           #Interface used for this network on the compute node.  Can either be logical
+                                                     #nic name like "nic1" or real name like "eth1"
+#  controller_interface: nic4                        #Interface used for this network on the controller node.  Can either be logical
+                                                     #nic name like "nic1" or real name like "eth1"
 #  vlan: native                                      #VLAN tag to use, native means none
-#  usable_ip_range: 192.0.2.11,192.0.2.99            #Usable ip range, if empty entire range is usable, ex. 192.168.1.10,192.168.1.20
+#  usable_ip_range: 192.0.2.11,192.0.2.99            #Usable ip range for the overcloud node IPs (including VIPs) and last IP will be
+                                                     #used for host bridge (i.e. br-admin), if empty entire range is usable.
+                                                     #Cannot overlap with dhcp_range or introspection_range.
 #  gateway: 192.0.2.1                                #Gateway (only needed when public_network is disabled), if empty it is auto-detected
 #  provisioner_ip: 192.0.2.1                         #installer VM IP, if empty it is the next available IP in the admin subnet
 #  cidr: 192.0.2.0/24                                #subnet in CIDR format 192.168.1.0/24, if empty it will be auto-detected
-#  dhcp_range: 192.0.2.2,192.0.2.10                  #dhcp range for the admin network, if empty it will be automatically provisioned
-#  introspection_range: 192.0.2.100,192.0.2.120      #Range used for introspection phase (examining nodes)
+#  dhcp_range: 192.0.2.2,192.0.2.10                  #dhcp range for the admin network for PXE booting during deployment, if empty it will
+                                                     #be automatically provisioned.  This cannot overlap with introspection_range or usable_ip_range.
+#  introspection_range: 192.0.2.100,192.0.2.120      #Range used for introspection phase (examining nodes).  This cannot overlap with dhcp_range
+                                                     #or usable_ip_range.
 #private_network:
 #  enabled: false                                    #If disabled, internal api traffic will collapse to admin_network
 #public_network:
@@ -110,9 +116,13 @@ storage_network:
 #  network_type: ''
 #  bridged_interface: ''
 #  cidr: 192.168.37.0/24
-#  gateway: 192.168.37.1
-#  floating_ip_range: 192.168.37.200,192.168.37.220  #Range to allocate to floating IPs for the public network with Neutron
-#  usable_ip_range: 192.168.37.10,192.168.37.199     #Usable IP range on the public network, usually this is a shared subnet
-#  provisioner_ip: 192.168.37.1
+#  gateway: 192.168.37.1                             #Public network gateway to reach the internet.  Note this value may be the same as
+                                                     #provisioner_ip for virtual deployments, but should be the real gateway in baremetal deployments.
+#  floating_ip_range: 192.168.37.200,192.168.37.220  #Range to allocate to floating IPs for the public network with Neutron (External IPs to be NAT'ed
+                                                     #to Tenant Instance IP)
+#  usable_ip_range: 192.168.37.10,192.168.37.199     #Usable ip range for the overcloud node IPs (including VIPs) and last IP will be used for host
+                                                     #bridge (i.e. br-public), if empty entire range is usable.  Cannot overlap with dhcp_range
+                                                     #or introspection_range.
+#  provisioner_ip: 192.168.37.1                      #installer VM IP for public network, if emptry it will be the next available IP in public subnet.
 #storage_network:
 #  enabled: false                                    #If disabled, storage_network traffic will collapse to admin network
index dd2d066..dc68274 100644 (file)
@@ -101,17 +101,6 @@ api_network:
   controller_interface: nic5
 
 #public_network:
-#  enabled: true                                     #If disabled, public_network traffic will collapse to admin network
-#  network_type: ''
-#  bridged_interface: ''
-#  cidr: 192.168.37.0/24
-#  gateway: 192.168.37.1
-#  floating_ip_range: 192.168.37.200,192.168.37.220  #Range to allocate to floating IPs for the public network with Neutron
-#  usable_ip_range: 192.168.37.10,192.168.37.199     #Usable IP range on the public network, usually this is a shared subnet
-#  provisioner_ip: 192.168.37.1
-#
-#private_network:
-#  enabled: false                                    #If disabled, underlay traffic will collapse to admin_network
 #  ipv6: true                                        #This flag is only needed if cidr is not provided, and bridged_interface
 #                                                     is used for address auto detection.
 #
@@ -136,6 +125,7 @@ api_network:
 #
 #Other changes
 # - All IP addresses can now be IPv4 or IPv6, we will detect the correct family and configure accordingly.
+#   Note Admin and Private (tenant) networks must be IPV4.
 #   Note that if any network is specified to be IPv6, we consider it a IPv6 deployment. IPv6 deployment does require additional
 #   configurations in resulting network environment yaml, such as enabling ipv6 support for NOVA, RABBITMQ, etc.
-#
\ No newline at end of file
+#
index 40d6183..d41ba10 100644 (file)
@@ -74,29 +74,3 @@ storage_network:
   enabled: true
   vlan: 200
   cidr: 12.0.0.0/24
-
-#admin_network:
-#  enabled: true
-#  network_type: bridged                             #Indicates if this network will be bridged to an interface, or to a bond
-#  bridged_interface: ''                             #Interface to bridge to for installer VM
-#  bond_interfaces: ''                               #Interfaces to create bond with for installer VM
-#  vlan: native                                      #VLAN tag to use, native means none
-#  usable_ip_range: 192.0.2.11,192.0.2.99            #Usable ip range, if empty entire range is usable, ex. 192.168.1.10,192.168.1.20
-#  gateway: 192.0.2.1                                #Gateway (only needed when public_network is disabled), if empty it is auto-detected
-#  provisioner_ip: 192.0.2.1                         #installer VM IP, if empty it is the next available IP in the admin subnet
-#  cidr: 192.0.2.0/24                                #subnet in CIDR format 192.168.1.0/24, if empty it will be auto-detected
-#  dhcp_range: 192.0.2.2,192.0.2.10                  #dhcp range for the admin network, if empty it will be automatically provisioned
-#  introspection_range: 192.0.2.100,192.0.2.120      #Range used for introspection phase (examining nodes)
-#private_network:
-#  enabled: false                                    #If disabled, internal api traffic will collapse to admin_network
-#public_network:
-#  enabled: true                                     #If disabled, public_network traffic will collapse to admin network
-#  network_type: ''
-#  bridged_interface: ''
-#  cidr: 192.168.37.0/24
-#  gateway: 192.168.37.1
-#  floating_ip_range: 192.168.37.200,192.168.37.220  #Range to allocate to floating IPs for the public network with Neutron
-#  usable_ip_range: 192.168.37.10,192.168.37.199     #Usable IP range on the public network, usually this is a shared subnet
-#  provisioner_ip: 192.168.37.1
-#storage_network:
-#  enabled: false                                    #If disabled, storage_network traffic will collapse to admin network