]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Break coupling between ML2 and L3 during create/update operations
authorarmando-migliaccio <armamig@gmail.com>
Thu, 5 Feb 2015 16:40:04 +0000 (08:40 -0800)
committerarmando-migliaccio <armamig@gmail.com>
Fri, 13 Mar 2015 01:57:49 +0000 (18:57 -0700)
commit3f3874717c07e2b469ea6c6fd52bcb4da7b380c7
tree56436405255f3b52ca9e33a91d6f52a0f1a301d0
parent48637c8933a0753b316eaf472a4a26ac41a4e009
Break coupling between ML2 and L3 during create/update operations

This is an initial patch in a series that, by using an event framework,
cleans up the relationship between ML2 and L3, so that they are no longer
tightly coupled. A follow-up will take address the coupling during the
port delete operation.

The newly introduced notification hooks not only benefit the L3 service
plugin, but any other plugin that has an interest in knowing about port
events.

Long term, the notification bits can move in a more 'common' place so that
other plugins can take advantage of them, but as mentioned in a parent patch,
the perestroika is not quite there yet.

Related-blueprint: services-split
Related-blueprint: plugin-interface-perestroika

Change-Id: I6527b1cb53a71a1f68329a7a3b1878094558f8c2
neutron/db/l3_dvrscheduler_db.py
neutron/plugins/ml2/plugin.py
neutron/plugins/ml2/rpc.py
neutron/services/l3_router/l3_router_plugin.py
neutron/tests/unit/ml2/test_ml2_plugin.py
neutron/tests/unit/ml2/test_rpcapi.py