commit 592c2f8d91c3172c75cc5a2464350891b0a303f1
Author: Harald Jensås <email address hidden>
Date: Fri Jan 17 12:29:10 2020 +0100
DHCPv6 - Use addr6_list in dnsmasq
Adds a new bool option dnsmasq_enable_addr6_list, when
enabled configuration for dnsmasq will be created with a
single dhcp-host entry specifying a list of ip addresses
allocated for a port.
Previously the dnsmasq dhcp-agent driver would write a
separate dhcp-host entry for each fixed-ip of a port in
the dnsmasq hosts file. The result of the previous
behaviour is that dnsmasq will only use one of the config
entries, i.e the first one matching the mac identifier.
The trade-off is that only a single dns_assignment will
be used for IPv6 addresses within the same subnet. (But
in practice, this was always the case since only the
first config entry would be used by dnsmasq.)
Reviewed: https:/ /review. opendev. org/704436 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=592c2f8d91c 3172c75cc5a2464 350891b0a303f1
Committed: https:/
Submitter: Zuul
Branch: master
commit 592c2f8d91c3172 c75cc5a24643508 91b0a303f1
Author: Harald Jensås <email address hidden>
Date: Fri Jan 17 12:29:10 2020 +0100
DHCPv6 - Use addr6_list in dnsmasq
Adds a new bool option dnsmasq_ enable_ addr6_list, when
enabled configuration for dnsmasq will be created with a
single dhcp-host entry specifying a list of ip addresses
allocated for a port.
Previously the dnsmasq dhcp-agent driver would write a
separate dhcp-host entry for each fixed-ip of a port in
the dnsmasq hosts file. The result of the previous
behaviour is that dnsmasq will only use one of the config
entries, i.e the first one matching the mac identifier.
The trade-off is that only a single dns_assignment will
be used for IPv6 addresses within the same subnet. (But
in practice, this was always the case since only the
first config entry would be used by dnsmasq.)
Why is this neccecary: lists.thekelley s.org.uk/ pipermail/ dnsmasq- discuss/ 2020q1/ thread. html#13671
This is done to enable ironic provisioning over IPv6
using DHCPv6-stateful. For background info, please
read dnsmasq-discuss thread:
http://
Closes-Bug: #1861032 fa7efaece27cfd1 ba28e0feb90
Change-Id: I833840e7daed2e