kolla-ansible/releasenotes/notes/ironic-inspector-multiple-ranges-b7c734d38b90c331.yaml
Maksim Malchuk 762aecbfae 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>
2022-04-13 19:26:31 +00:00

27 lines
922 B
YAML

---
features:
- |
Adds support for multiple DHCP ranges in the Ironic Inspector DHCP server.
upgrade:
- |
Modifies the default lease time of the Ironic Inspector DHCP server to 10
minutes. This is small enough to use small pools of IP addresses for
inspection but gives more room for the inspection to succeed.
This default can be changed globally via
``ironic_dnsmasq_dhcp_default_lease_time`` variable or per range via
``lease_time`` parameter.
- |
Replace usage of ``ironic_dnsmasq_dhcp_range`` together with
``ironic_dnsmasq_default_gateway`` to ``ironic_dnsmasq_dhcp_ranges``.
For example, if you have::
ironic_dnsmasq_dhcp_range: "10.42.0.2,10.42.0.254,255.255.255.0"
ironic_dnsmasq_default_gateway: "10.42.0.1"
replace it with::
ironic_dnsmasq_dhcp_ranges:
- range: "10.42.0.2,10.42.0.254,255.255.255.0"
routers: "10.42.0.1"