neutron/neutron/scheduler
venkata anil c169406778 Avoid redundant HA port creation during migration
When a router is migrated between DVR+HA and HA(i.e DVR+HA->HA and
HA->DVR+HA), redundant "network:router_ha_interface" ports are created.
For binding a HA router to a agent, existing code can create multiple
ports, but is using only one port and other ports remain still in DB
until router is deleted.

In this patch, when duplicate entry is detected while binding,
we remove the port which is created at that time for binding.

Closes-Bug: 1715370
Change-Id: I0c6c5f9dfce1bf2d99672b5cf9e072bfb0228a17
(cherry picked from commit 5b0165e940)
2017-09-11 19:56:19 +00:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base_resource_filter.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
base_scheduler.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
dhcp_agent_scheduler.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
l3_agent_scheduler.py Avoid redundant HA port creation during migration 2017-09-11 19:56:19 +00:00