openstack-ansible-ops/multi-node-aio/playbooks/group_vars/dhcp_hosts.yml
d34dh0r53 358be0158e Adjust flat networking
This adjusts the VM networking to only create the additional veth pair for the
flat bridge.  Without this the other bridges can get IPs other than those
statically assigned by the DHCP server.  This also adjusts the range to exclude
the statically assigned ranges.

Change-Id: I289e808b5acb68b1c51e05cbe7d914077c20ba1a
2018-06-01 15:40:44 -05:00

31 lines
1.8 KiB
YAML

---
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
dhcp_default_lease_time: 21600 # Default lease time
dhcp_max_lease_time: 43200 # Max lease time
ipxe_boot_file: "boot.ipxe" # Path of initial iPXE bootloader
# - List of DHCP Subnets - These are iterated though and each will be created
dhcp_list:
- netmask: 255.255.252.0 # Netmask
gateway: 10.0.2.1 # Gateway
dns: 8.8.8.8 # DNS
subnet: 10.0.0.0 # Subnet mask
range_start: 10.0.2.160 # Start of DHCP range
range_end: 10.0.3.254 # End of DHCP range
broadcast: 10.0.3.255 # Network Broadcast address
default_lease_time: 21600 # Subnet Default lease time - The default is used if this is not defined
max_lease_time: 43200 # Subnet Max lease time - The default is used if this is not defined
ipxe_boot_file: "boot.ipxe" # Path of initial iPXE bootloader to boot from first
tftp_server: "{{ tftp_server }}" # The server hosting the TFTP server - The default is used if this is not defined
dhcp_default_domain_name: openstackci.local