]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
l2-population : send flooding entries when the last port goes down
authormathieu-rohon <mathieu.rohon@gmail.com>
Thu, 20 Feb 2014 09:39:43 +0000 (10:39 +0100)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:31 +0000 (15:20 +0800)
commitd0a406001d94f019c2808a8162bf194ef2517800
treecacf94b0278c33f24cdbf30c12b8ffb5ad42e542
parent74a9f41daa9b398f3e915898c669dcc6122ba125
l2-population : send flooding entries when the last port goes down

Delete port used to call update_port_down to calculate
its fdb entries during delete_port_precommit. But during
the pre-commit, the port is still up, so update_port_down
acts as if there was still one port on the agent, and
doesn't add flooding entry in its fdb_entries.

Closes bug #1282141

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