diff options
| author | Maksim Malchuk <maksim.malchuk@gmail.com> | 2021-11-08 21:23:21 +0300 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2022-04-13 19:26:31 +0000 |
| commit | 762aecbfae0719a7d2fa15fd23ddd40c471be113 (patch) | |
| tree | 30b07d60d933ac2ee10986ef2db97ce6fb9b2f38 /etc | |
| parent | e380cdd226bd702277c644c61f76fb97d1c9b1e9 (diff) | |
| download | kolla-ansible-762aecbfae0719a7d2fa15fd23ddd40c471be113.tar.gz kolla-ansible-762aecbfae0719a7d2fa15fd23ddd40c471be113.zip | |
Multiple DHCP ranges for Ironic Inspector
Add a new parameter 'ironic_dnsmasq_dhcp_ranges' and enable the
configuration of the corresponding 'dhcp-range' and 'dhcp-option'
blocks in Ironic Inspector dnsmasq for multiple ranges.
The old parameters 'ironic_dnsmasq_dhcp_range' and
'ironic_dnsmasq_default_gateway' used for the only range are now
removed.
This change implements the same solution used in the TripleO several
years ago in the: Ie49b07ffe948576f5d9330cf11ee014aef4b282d
Also, this change contains: Iae15e9db0acc2ecd5b087a9ca430be948bc3e649
fix for lease time.
The value can be changed globally or per range.
Change-Id: Ib69fc0017b3bfbc8da4dfd4301710fbf88be661a
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/kolla/globals.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index bd756c968..58aaabc54 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -587,9 +587,11 @@ ############################# # dnsmasq bind interface for Ironic Inspector, by default is network_interface #ironic_dnsmasq_interface: "{{ network_interface }}" -# The following value must be set when enabling ironic, the value format is -# "192.168.0.10,192.168.0.100,255.255.255.0" the last being an optional netmask. -#ironic_dnsmasq_dhcp_range: +# The following value must be set when enabling ironic, the value format is a +# list of ranges - at least one must be configured, for example: +# - range: 192.168.0.10,192.168.0.100 +# See Kolla Ansible docs on Ironic for details. +#ironic_dnsmasq_dhcp_ranges: # PXE bootloader file for Ironic Inspector, relative to /var/lib/ironic/tftpboot. #ironic_dnsmasq_boot_file: "pxelinux.0" |
