[openstack-dev] [tricircle] About registering and loading a plugin

Vega Cai luckyvega.g at gmail.com
Tue Jun 28 02:35:01 UTC 2016


Hi Yipei,

You can also refer to my network type driver implementation:

https://review.openstack.org/#/c/331638/

Type driver is registered in setup.cfg and loaded by code.

BR
Zhiyuan

On 27 June 2016 at 21:44, Yipei Niu <newypei at gmail.com> wrote:

> Dear all,
>
> Recently, I learn to name a plugin based on the doc
> http://docs.openstack.org/developer/stevedore/tutorial/naming.html#. I
> define a new entry_point for the plugin, then it fails. The console prompts
> "stevedore.exception.NoMatches: No 'net.nyp.formatter' driver found,
> looking for 'simple'". After setting a new entry_point with setuptools, why
> stevedore cannot find the driver based on the entry_point?
>
> Best regards,
> Yipei
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160628/4101e108/attachment.html>


More information about the OpenStack-dev mailing list