]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Send fdb remove message when a port is migrated
authormathieu-rohon <mathieu.rohon@gmail.com>
Fri, 14 Mar 2014 09:17:55 +0000 (10:17 +0100)
committermathieu-rohon <mathieu.rohon@gmail.com>
Fri, 14 Mar 2014 09:17:55 +0000 (10:17 +0100)
commit809d9f3dc5a8aa332e7eacf3d681720042b5e9b7
treef2cd9c7f1729aebc3c75c959d61889942fb3232d
parent2d37076d610a4b6095a3f23dd66e5b192fae6960
Send fdb remove message when a port is migrated

the fdb_remove rpc message is sent when the status
of the port goes to BUILD, that is when the new host
send a get_device_details which means that it owns
the migrated port. The fdb_add message will be sent
as soon as the new host send update_device_up

Closes bug: #1237841

Change-Id: Ibdc7768d8db922b7e6eb9dc505382168cbb8e55d
neutron/plugins/ml2/drivers/l2pop/mech_driver.py
neutron/plugins/ml2/rpc.py
neutron/tests/unit/ml2/drivers/test_l2population.py
neutron/tests/unit/ml2/test_port_binding.py