Comment 3 for bug 1505316

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

Reviewed: https://review.openstack.org/241227
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c2f780648d878477bec731d255e71c112ca941b5
Submitter: Jenkins
Branch: master

commit c2f780648d878477bec731d255e71c112ca941b5
Author: venkata anil <email address hidden>
Date: Wed Apr 6 08:39:13 2016 +0000

    Fix prefix delegation deleting addresses for ports

    If a network has IPv4 and IPv6(prefix delegated) subnets,
    prefix delegation is deleting port's IPv4 address and
    not properly updating IPv6 address.

    Prefix Delegation(PD) is calling port_update with empty fixed_ip,
    for the port with IPv4 and IPv6(PD) subnets. After fixing this,
    when _update_ips_for_port is called with new_ips having IPv6 PD subnet,
    it is unable to add IPv6 address with new subnet prefix,
    as _test_fixed_ips_for_port not returning IPv6 PD subnet.

    To fix this, we explicitly add PD subnet to "to_add" list,
    so that IPv6 address with new prefix added to PD subnet's port.

    Closes-bug: #1509626
    Partial-Bug: #1505316
    Change-Id: I1162ca7d004461c335b0f6e0a9b5d6dff0a10429