]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add extension callbacks support for networks
authorMike Kolesnik <mkolesni@redhat.com>
Tue, 30 Jun 2015 12:21:30 +0000 (15:21 +0300)
committerMike Kolesnik <mkolesni@redhat.com>
Thu, 2 Jul 2015 08:57:19 +0000 (11:57 +0300)
commit3de65f57e30b73f5d7efc0344a102f1e40a6b40e
tree700135a53bea3908848d18ed09299f96ce0b7635
parente90b28662eb769e26f2f6c202a71910819c3ff41
Add extension callbacks support for networks

Add callbacks for extention to the network resource so that interested
extensions can do custom logic when a network is created or updated.

Currently it will be done the same way port notifications are done -
i.e. only in ML2 plugin. We can revisit this in a floow up patch if the
whole notification logic should be moved somewhere else as this merits
further discussion which is out of scope for a mere patch.

This will be utilized in a follow up commit.

Partially-implements: blueprint quantum-qos-api
Change-Id: I38528863e1145caf05fe3b2425511d1c5b5c0f93
neutron/callbacks/resources.py
neutron/plugins/ml2/plugin.py
neutron/tests/unit/plugins/ml2/test_plugin.py