[openstack-dev] [Quantum] Adding event handler for each CRUD method in db_base_plugin

Nachi Ueno nachi at nttmcl.com
Mon Oct 22 18:22:49 UTC 2012


Hi Quantum folks

Now, when we add new extension, we should update for each plugins. (
l3 , security groups etc)
As the result, similar code are distributed between multiple plugins

Instead of doing this, how about to add event handler for each CRUD
method in db_base_plugin?

>From extension we can do this.

register_pre_create_network(event_handler, method)
or
register_post_create_network(event_handler, method)

Best,
Nachi Ueno



More information about the OpenStack-dev mailing list