neutron/neutron/tests/unit/scheduler
Swaminathan Vasudevan b223452e68 DVR:Fix _notify_l3_agent_new_port for proper arp update
Now with notifications coming from ml2 plugin on port create
and port update, it is worth fixing the existing _notify_
l3_agent_new_port for proper arp update and router scheduling.

Previously we have been sending arp update and calling router
scheduling for every update notification for service ports,
but now we can take necessary action only when required, since
the fix to update the arp and router scheduling was recently
done by sending the port info for every new port created.

When _notify_l3_agent_port_update is triggered, we check if the
original port host binding exists and if there is a change in
host binding with respect to the new port, then we go ahead and
reschedule the router on the new host and flush the arp entry.

Related-Bug: #1524020

Change-Id: Ifda623d5413b72bf80f38fba5c12a05a88bb7de5
2015-12-21 13:30:39 -08:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_dhcp_agent_scheduler.py Add availability_zone support for network 2015-11-25 22:34:09 +09:00
test_l3_agent_scheduler.py DVR:Fix _notify_l3_agent_new_port for proper arp update 2015-12-21 13:30:39 -08:00