]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Initial Modular L2 Mechanism Driver implementation.
authorAndre Pech <apech@aristanetworks.com>
Sun, 7 Jul 2013 20:00:54 +0000 (13:00 -0700)
committerAndre Pech <apech@aristanetworks.com>
Thu, 11 Jul 2013 01:16:03 +0000 (18:16 -0700)
commit34798f3a1e3a910eac553c4eb87e5ffedd74fac1
tree515c63da9a18479c06dc398400a2a808a8149aad
parent31c7bdac68e7ebf1c2e7d91efa155b7212c20388
Initial Modular L2 Mechanism Driver implementation.

Define the Mechanism Driver interface for create/update/delete
operations on networks and ports. For each of these event, the
Mechanism Driver provides one method that is called within the
database transaction of the ml2 plugin method, and one that is called
after the transaction is completed.

Support for mechanism drivers is still a work-in-progress, and the
interface is subject to change in future versions before the release
of Havana. However this initial version should be sufficient to enable
others to start defining their own mechanism drivers.

Change-Id: Ife30215589792ee27df9897d3b2bc04392638266
Implements: blueprint ml2-mechanism-drivers
Fixes: bug #1199977
Fixes: bug #1199978
DocImpact
14 files changed:
etc/neutron/plugins/ml2/ml2_conf.ini
neutron/plugins/ml2/README
neutron/plugins/ml2/common/__init__.py [new file with mode: 0644]
neutron/plugins/ml2/common/exceptions.py [new file with mode: 0644]
neutron/plugins/ml2/config.py
neutron/plugins/ml2/driver_api.py
neutron/plugins/ml2/driver_context.py [new file with mode: 0644]
neutron/plugins/ml2/managers.py
neutron/plugins/ml2/plugin.py
neutron/tests/unit/ml2/drivers/__init__.py [new file with mode: 0644]
neutron/tests/unit/ml2/drivers/mechanism_logger.py [new file with mode: 0644]
neutron/tests/unit/ml2/drivers/mechanism_test.py [new file with mode: 0644]
neutron/tests/unit/ml2/test_ml2_plugin.py
setup.cfg