]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Extract l2pop/DVR controller logic to common method
authorMike Kolesnik <mkolesni@redhat.com>
Mon, 8 Dec 2014 08:03:05 +0000 (10:03 +0200)
committerMike Kolesnik <mkolesni@redhat.com>
Mon, 26 Jan 2015 11:57:58 +0000 (13:57 +0200)
commit86a6639294dd3c8f5315085c860b9950f8639ede
treec35cd92cddaae03d327770f970dd5a3c7746dfdc
parent51fcac038954b537d552a4cb37aca1c797c06255
Extract l2pop/DVR controller logic to common method

Regular ports and DVR ports are treated almost the same, extract the
l2pop logic to treat them to a unified method that gets an argument if
the FDB entries are needed or not, in order to reduce code duplication.

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