Comment 4 for bug 1498665

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/kilo)

Reviewed: https://review.openstack.org/227424
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fc1c812fa6f6fab1910f00f23cb4efe45793557a
Submitter: Jenkins
Branch: stable/kilo

commit fc1c812fa6f6fab1910f00f23cb4efe45793557a
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
    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.

    Conflicts:
     neutron/agent/linux/dhcp.py
     neutron/tests/unit/agent/linux/test_dhcp.py

    Change-Id: I81b4669eadaa9119e08c6a5e1d2a7b5959babdcc
    Closes-Bug: #1498665
    (cherry picked from commit 1daf945f832716b98b8c2d630cd2e730178a46fa)