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/227424 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fc1c812fa6f 6fab1910f00f23c b4efe45793557a
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit fc1c812fa6f6fab 1910f00f23cb4ef e45793557a
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.
Conflicts: agent/linux/ dhcp.py tests/unit/ agent/linux/ test_dhcp. py
neutron/
neutron/
Change-Id: I81b4669eadaa91 19e08c6a5e1d2a7 b5959babdcc 98b8c2d630cd2e7 30178a46fa)
Closes-Bug: #1498665
(cherry picked from commit 1daf945f832716b