DVR: Handle unbound allowed_address_pair port with FIP
If an allowed_address_pair port associated with a FloatingIP
is configured to a service_port, the allowed_address_pair port
should inherit the service_ports host binding and device
owner if device_owner is not configured.
Hence the DVR will be able to deploy the FloatingIP for
the provided allowed_address_pair.
In this case if the associated port's admin state changes,
the allowed_address_pairs device_owner and host binding will
be reverted back to None.
When associated service port is deleted the allowed_address_
pairs device_owner and host binding will be reverted as well.
Closes-Bug: #1445255
(cherry picked from commit 6185a09d130edb7a21e21a354b3fa12fcbebe8a6)
Reviewed: https:/ /review. openstack. org/327017 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=88fbfa26dea 57c91b38510d612 9e4aff71c0d80e
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 88fbfa26dea57c9 1b38510d6129e4a ff71c0d80e
Author: Swaminathan Vasudevan <email address hidden>
Date: Fri Dec 4 16:44:44 2015 -0800
DVR: Handle unbound allowed_ address_ pair port with FIP
If an allowed_ address_ pair port associated with a FloatingIP address_ pair port
is configured to a service_port, the allowed_
should inherit the service_ports host binding and device
owner if device_owner is not configured.
Hence the DVR will be able to deploy the FloatingIP for address_ pair.
the provided allowed_
In this case if the associated port's admin state changes, address_ pairs device_owner and host binding will
the allowed_
be reverted back to None.
When associated service port is deleted the allowed_address_
pairs device_owner and host binding will be reverted as well.
Closes-Bug: #1445255 a21e21a354b3fa1 2fcbebe8a6)
(cherry picked from commit 6185a09d130edb7
Conflicts: tests/functiona l/services/ l3_router/ test_l3_ dvr_router_ plugin. py tests/unit/ scheduler/ test_l3_ agent_scheduler .py
neutron/
neutron/
Change-Id: I32b8d3e85a8e12 fc146c419766596 fcfb61f32f6