Comment 10 for bug 1288923

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

Reviewed: https://review.openstack.org/125919
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1386415271bd7e478a12e132f67a42aed2f41dae
Submitter: Jenkins
Branch: stable/icehouse

commit 1386415271bd7e478a12e132f67a42aed2f41dae
Author: Ed Bak <email address hidden>
Date: Fri Mar 7 17:16:15 2014 +0000

    Provide way to reserve dhcp port during failovers

    This change provides a way to save the dhcp port when failing
    over a network from one dhcp agent to another. When a
    dhcp-agent-network-remove is issued, the dhcp port device_id is
    marked as reserved which causes it to not be deleted. When a
    subsequent dhcp-agent-network-add is issued, the reserved port
    is used and the device_id is corrected. This is desirable
    in order to maintain the dhcp port ip address so that dns doesn't
    get impacted. Unit test added.

    Closes-Bug: #1288923
    (cherry picked from d5c0a37999f9e3a611a322baacabebc06b13283b)
    Conflicts:
     neutron/common/utils.py
     neutron/tests/unit/test_db_plugin.py

    Change-Id: I531d7ffab074b01adfe186d2c3df43ca978359cd