[openstack-dev] Where can I find the neutron ml2 mechanism driver list?

Sławek Kapłoński slawek at kaplonski.pl
Sun Apr 19 08:21:34 UTC 2015


Hello,

Check setup.cfg file - there are entry points for all drivers in this
file.

--
Best regards / Pozdrawiam
Sławek Kapłoński
slawek at kaplonski.pl

On Sun, Apr 19, 2015 at 12:13:30AM -0700, Sam Su wrote:
> Hi,
> 
> I am learning the existing Neutron code (Juno) and am going to add a ML2
> driver. I can see the following debug info in neutron.log:
> 
> 
> 
> 
> 
> *2015-04-18 23:21:13.729 11068 DEBUG stevedore.extension [-] found
> extension EntryPoint.parse('hyperv =
> neutron.plugins.ml2.drivers.mech_hyperv:HypervMechanismDriver')
> _load_plugins
> /usr/lib/python2.7/site-packages/stevedore/extension.py:1562015-04-18
> 23:21:13.729 11068 DEBUG stevedore.extension [-] found extension
> EntryPoint.parse('l2population =
> neutron.plugins.ml2.drivers.l2pop.mech_driver:L2populationMechanismDriver')
> _load_plugins
> /usr/lib/python2.7/site-packages/stevedore/extension.py:1562015-04-18
> 23:21:13.729 11068 DEBUG stevedore.extension [-] found extension
> EntryPoint.parse('cisco_apic =
> neutron.plugins.ml2.drivers.cisco.apic.mechanism_apic:APICMechanismDriver')
> _load_plugins
> /usr/lib/python2.7/site-packages/stevedore/extension.py:1562015-04-18
> 23:21:13.730 11068 DEBUG stevedore.extension [-] found extension
> EntryPoint.parse('arista =
> neutron.plugins.ml2.drivers.arista.mechanism_arista:AristaDriver')
> _load_plugins
> /usr/lib/python2.7/site-packages/stevedore/extension.py:156...( Click
> http://pastebin.com/3ssdHGZf <http://pastebin.com/3ssdHGZf> for the detail
> )*
> 
> From the above log we can see, neutron.plugins.ml2.managers can find all
> driver extensions e.g. hyperv, l2population etc, as my understanding, there
> should exist a driver list on somewhere. If I am right, where can I find
> the driver list? If not, can someone give me a clue?
> 
> Any help will be much appreciated.
> 
> Thanks,
> Sam

> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list