[openstack-dev] Where can I find the neutron ml2 mechanism driver list?
Neil.Jerram at metaswitch.com
Neil.Jerram at metaswitch.com
Sun Apr 19 09:31:48 UTC 2015
Note also, though, that any third party package can add its own mechanism driver to this list. So the effective complete list is the combination of:
- what you see in Neutron's setup.cfg, under neutron.ml2.mechanism_drivers
- further neutron.ml2.mechanism_drivers entries that are added by third party packages.
You can see an example of the latter in the setup.py for my project, at https://github.com/Metaswitch/calico/blob/master/setup.py
Regards,
Neil
Original Message
From: Sławek Kapłoński
Sent: Sunday, 19 April 2015 09:25
To: OpenStack Development Mailing List (not for usage questions)
Reply To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] Where can I find the neutron ml2 mechanism driver list?
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
__________________________________________________________________________
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