<div dir="ltr">Hi OpenStack community!<div><br></div><div style>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: <a href="http://docs.openstack.org/trunk/openstack-network/admin/content/quantum_server.html">http://docs.openstack.org/trunk/openstack-network/admin/content/quantum_server.html</a>. We found that we need to implement 'quantum/quantum_plugin_base_v2.QuantumPluginBaseV2' (<a href="https://github.com/openstack/quantum/blob/stable/grizzly/quantum/quantum_plugin_base_v2.py">https://github.com/openstack/quantum/blob/stable/grizzly/quantum/quantum_plugin_base_v2.py</a>). 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):</div>
<div style><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style>...</div><div style><div style>#core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2</div></div>
<div style><div style>core_plugin = quantum.plugins.our_plugin_folder.our_plugin_file.OurPluginClass</div></div><div style>...</div></blockquote><div style><br></div><div style><br></div><div style>Then we restarted our OpenStack server (with 'sudo service quantum-server restart' in our case), but the log showed this error:</div>
<div style><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style>ImportError: No module named our_plugin_folder.our_plugin_file.</div></blockquote><div style><br></div><div style><br></div><div style>
We have verified the folder and file names.</div><div style><br></div><div style>What are our mistake? Where can we find more information about it?</div><div style><br></div><div style>Thank you in advance!</div></div>