]> 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)
committermathieu-rohon <mathieu.rohon@gmail.com>
Tue, 25 Feb 2014 10:11:23 +0000 (11:11 +0100)
commit043b4dde00216e71e855ff353e41695e4ed940a9
tree2a1583a4d818a6591e6ef7565291268b84965a62
parentb0671111b28be10346705d496b9540a88851d5dc
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