[openstack-dev] develop a Quantum plugin

Filipe Manco filipe.manco at gmail.com
Wed May 29 10:12:32 UTC 2013


Try to put your plugin on /usr/lib/python2.7/dist-packages/quantum/plugins.
Or you can make symbolic links to your plugin files.

Regards

Filipe Manco
http://about.me/fmanco


2013/5/29 Julio Carlos Barrera Juez <juliocarlos.barrera at i2cat.net>

> Hi OpenStack community!
>
> Our colleagues an me are trying to develop a Quantum plugin. We have not
> found official guidelines to achieve it, only related stuff like this:
> http://docs.openstack.org/trunk/openstack-network/admin/content/quantum_server.html.
> We found that we need to implement
> 'quantum/quantum_plugin_base_v2.QuantumPluginBaseV2' (
> https://github.com/openstack/quantum/blob/stable/grizzly/quantum/quantum_plugin_base_v2.py).
> We have an Ubuntu OpenStack instance. After developing a basic plugin, we
> placed it on our OpenStack instance plugins folder
> ('/usr/share/pyshared/quantum/plugins' in our case). We created a folder
> and placed inside our plugin with an empty '__init__.py' file. Then we
> edited Quantum config file ('/etc/quantum/quantum.conf' in our case):
>
> ...
> #core_plugin =
> quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
> core_plugin =
> quantum.plugins.our_plugin_folder.our_plugin_file.OurPluginClass
> ...
>
>
>
> Then we restarted our OpenStack server (with 'sudo service quantum-server
> restart' in our case), but the log showed this error:
>
> ImportError: No module named our_plugin_folder.our_plugin_file.
>
>
>
> We have verified the folder and file names.
>
> What are our mistake? Where can we find more information about it?
>
> Thank you in advance!
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130529/98b3df5a/attachment.html>


More information about the OpenStack-dev mailing list