There were early yields in the DHCP agent to handling skipping
lease setup for certain IPv6 addresses. However, the setup for
name resolution in _output_addn_hosts_file depends on the same
function so certain IPv6 addresses weren't getting name resolution.
This patch adjusts the function to return a flag indicating that
DHCP isn't required for the port so the callers setting up reservations
can skip based on that and the name resolution setup can continue
as normal.
Reviewed: https:/ /review. openstack. org/226577 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1daf945f832 716b98b8c2d630c d2e730178a46fa
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1daf945f832716b 98b8c2d630cd2e7 30178a46fa
Author: Kevin Benton <email address hidden>
Date: Thu Sep 17 09:53:46 2015 -0700
Remove early yields in _iter_hosts in dhcp agent
There were early yields in the DHCP agent to handling skipping addn_hosts_ file depends on the same
lease setup for certain IPv6 addresses. However, the setup for
name resolution in _output_
function so certain IPv6 addresses weren't getting name resolution.
This patch adjusts the function to return a flag indicating that
DHCP isn't required for the port so the callers setting up reservations
can skip based on that and the name resolution setup can continue
as normal.
Change-Id: I81b4669eadaa91 19e08c6a5e1d2a7 b5959babdcc
Closes-Bug: #1498665