Comment 23 for bug 1564335

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

Reviewed: https://review.openstack.org/362196
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e0698725ce441c81575359d9f502d47e3e08efd4
Submitter: Jenkins
Branch: stable/liberty

commit e0698725ce441c81575359d9f502d47e3e08efd4
Author: Pavel Bondar <email address hidden>
Date: Tue May 31 15:12:00 2016 +0300

    Allow auto-addressed ips deletion on port update

    By default ips for auto-addressed subnets can not be removed from port
    using port_update workflow. But during subnet_delete it has to be done
    via update_port to make sure that ipam drivers received appropriate call
    to deallocate ip addresses prior to subnet deletion.

    'fixed_ips' property is tweeked to allow deletion ips from
    auto-addressed subnet. 'delete_subnet' boolean is added to mark subnet
    that is going to be deleted. This flag is analysed in
    _get_changed_ips_for_port to skip re-adding slaac subnets for the port.

    Manually resolved conflicts:
        neutron/tests/unit/plugins/ml2/test_plugin.py

    Closes-Bug: #1564335
    Change-Id: Iec171efe8b64f8a6dc6cb003b97c11667c5e0048
    Cherry-picked-From: dc19411ebf2cab7075dd5abe809797fb7253757c
    (cherry picked from commit cf3009a984b01eb90046c8c7513e531b7ab63762)