neutron/neutron/tests/unit/scheduler
venkata anil 0417c5110f 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:57:01 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_dhcp_agent_scheduler.py Clean MissingAuthPlugin from unit tests 2017-06-19 11:06:38 +02:00
test_l3_agent_scheduler.py Avoid redundant HA port creation during migration 2017-09-11 19:57:01 +00:00