Re: [openstack-dev] Documentation on writing a neutron plugin/driver

2014-09-18 Thread Edgar Magana
Daniel,

You can start with:
https://wiki.openstack.org/wiki/NeutronDevelopment

You can also take a look to one of the latest plugins in being merged:
https://review.openstack.org/#/c/96630/

If you are looking into a ML2 driver:
https://review.openstack.org/#/c/64944/

Cheers,

Edgar

From: openstack technology 
128openst...@gmail.commailto:128openst...@gmail.com
Reply-To: 
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org 
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
Date: Thursday, September 18, 2014 at 2:05 PM
To: 
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org 
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
Subject: [openstack-dev] Documentation on writing a neutron plugin/driver

Hi All:

Is there any documentation on how to write a neutron plugin  drivers 
(including what files need to be changed), I could not find this on OpenStack 
documentation pages. I tried to use the Hdn example plugin and tried to 
integrate it as a part of DevStack but looks like the Hdn example plugin is 
incomplete.

Any help on directions on how to write a neutron plugin  drivers (along with 
instructions on what files need to be changed).

Thank you.
Daniel
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Documentation on writing a neutron plugin/driver

2014-09-18 Thread Salvatore Orlando
The HDN plugin is purely for educational purposes.

I remember it worked with devstack, but as I've not run it for a while it
might be broken now.
If you've found this plugin you should also have found the slides which
introduced it.

First you should assess whether you need to implement a new plugin, a ML2
driver, or a service plugin.
The HDN example will be useful for you only in the first case.
Nevertheless, it does not cover interactions with 3rd party backends, and
neutron built-in agents.
It is merely an example showing how to provide an implementation of the
neutron v2 plugin interface using the DB mixing approach which most
plugins, including ML2, use.

Salvatore

On 18 September 2014 23:12, Edgar Magana edgar.mag...@workday.com wrote:

  Daniel,

  You can start with:
 https://wiki.openstack.org/wiki/NeutronDevelopment

  You can also take a look to one of the latest plugins in being merged:
 https://review.openstack.org/#/c/96630/

  If you are looking into a ML2 driver:
 https://review.openstack.org/#/c/64944/

  Cheers,

  Edgar

   From: openstack technology 128openst...@gmail.com
 Reply-To: OpenStack-dev@lists.openstack.org 
 OpenStack-dev@lists.openstack.org
 Date: Thursday, September 18, 2014 at 2:05 PM
 To: OpenStack-dev@lists.openstack.org OpenStack-dev@lists.openstack.org
 
 Subject: [openstack-dev] Documentation on writing a neutron plugin/driver

Hi All:

  Is there any documentation on how to write a neutron plugin  drivers
 (including what files need to be changed), I could not find this on
 OpenStack documentation pages. I tried to use the Hdn example plugin and
 tried to integrate it as a part of DevStack but looks like the Hdn
 example plugin is incomplete.

 Any help on directions on how to write a neutron plugin  drivers (along
 with instructions on what files need to be changed).

  Thank you.
  Daniel

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Documentation on writing a neutron plugin/driver

2014-09-18 Thread openstack technology
Hi Edgar,

Thank you for your quick response, will look at the opencontrail plugin
under 96630

Regards,
Prashant.


On Thu, Sep 18, 2014 at 5:12 PM, Edgar Magana edgar.mag...@workday.com
wrote:

  Daniel,

  You can start with:
 https://wiki.openstack.org/wiki/NeutronDevelopment

  You can also take a look to one of the latest plugins in being merged:
 https://review.openstack.org/#/c/96630/

  If you are looking into a ML2 driver:
 https://review.openstack.org/#/c/64944/

  Cheers,

  Edgar

   From: openstack technology 128openst...@gmail.com
 Reply-To: OpenStack-dev@lists.openstack.org 
 OpenStack-dev@lists.openstack.org
 Date: Thursday, September 18, 2014 at 2:05 PM
 To: OpenStack-dev@lists.openstack.org OpenStack-dev@lists.openstack.org
 
 Subject: [openstack-dev] Documentation on writing a neutron plugin/driver

Hi All:

  Is there any documentation on how to write a neutron plugin  drivers
 (including what files need to be changed), I could not find this on
 OpenStack documentation pages. I tried to use the Hdn example plugin and
 tried to integrate it as a part of DevStack but looks like the Hdn
 example plugin is incomplete.

 Any help on directions on how to write a neutron plugin  drivers (along
 with instructions on what files need to be changed).

  Thank you.
  Daniel

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Documentation on writing a neutron plugin/driver

2014-09-18 Thread Anita Kuno
On 09/18/2014 05:05 PM, openstack technology wrote:
 Hi All:
 
 Is there any documentation on how to write a neutron plugin  drivers
 (including what files need to be changed), I could not find this on
 OpenStack documentation pages. I tried to use the Hdn example plugin and
 tried to integrate it as a part of DevStack but looks like the Hdn
 example plugin is incomplete.
 
 Any help on directions on how to write a neutron plugin  drivers (along
 with instructions on what files need to be changed).
 
 Thank you.
 Daniel
 
 
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
Have you considered getting involved with the current Neutron team when
they meet for their weekly meeting or spend time on irc by learning the
OpenStack contributors workflow and maybe fixing some bugs?

There is a responsibility when offering plugin or driver code which
includes setting up and maintaining your own automated testing system
which is usually a surprise to driver authors and few have planned for
the time and resources this requires.

Learning the OpenStack contributor workflow is expected when standing up
your own third party ci system for testing and those operators who don't
have this experience really have a frustrating time with it. I suggest
you do yourself a big favour and learn how to offer some patches to bugs
to understand the workflow.

Join the freenode #openstack-neutron channel and offer to learn how to
contribute. Also attend the weekly meetings to understand what the
priorities are: https://wiki.openstack.org/wiki/Network/Meetings

Thanks,
Anita.

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Documentation on writing a neutron plugin/driver

2014-09-18 Thread openstack technology
Hi Salvatore,

Thank you for your quick response, I did go through the video and slide
deck which introduced HDN plugin and it was very helpful. Great job by both
of you.

The Hdn Plugin is very useful and is a good introduction. Given the fact
that I am new to OpenStack, I was trying to play with Hdn and was trying to
integrate it with DevStack, it turned out be more complicated than I
thought (My whole idea was to integrate it to devstack, configure a network
and get an SMTP email :)).

Thank you and keep up the good work. If you ever plan to integrated Hdn
with Devstack, it would be great start for beginners like me :)).

Regards,
Daniel

On Thu, Sep 18, 2014 at 5:17 PM, Salvatore Orlando sorla...@nicira.com
wrote:

 The HDN plugin is purely for educational purposes.

 I remember it worked with devstack, but as I've not run it for a while it
 might be broken now.
 If you've found this plugin you should also have found the slides which
 introduced it.

 First you should assess whether you need to implement a new plugin, a ML2
 driver, or a service plugin.
 The HDN example will be useful for you only in the first case.
 Nevertheless, it does not cover interactions with 3rd party backends, and
 neutron built-in agents.
 It is merely an example showing how to provide an implementation of the
 neutron v2 plugin interface using the DB mixing approach which most
 plugins, including ML2, use.

 Salvatore

 On 18 September 2014 23:12, Edgar Magana edgar.mag...@workday.com wrote:

  Daniel,

  You can start with:
 https://wiki.openstack.org/wiki/NeutronDevelopment

  You can also take a look to one of the latest plugins in being merged:
 https://review.openstack.org/#/c/96630/

  If you are looking into a ML2 driver:
 https://review.openstack.org/#/c/64944/

  Cheers,

  Edgar

   From: openstack technology 128openst...@gmail.com
 Reply-To: OpenStack-dev@lists.openstack.org 
 OpenStack-dev@lists.openstack.org
 Date: Thursday, September 18, 2014 at 2:05 PM
 To: OpenStack-dev@lists.openstack.org 
 OpenStack-dev@lists.openstack.org
 Subject: [openstack-dev] Documentation on writing a neutron plugin/driver

Hi All:

  Is there any documentation on how to write a neutron plugin  drivers
 (including what files need to be changed), I could not find this on
 OpenStack documentation pages. I tried to use the Hdn example plugin and
 tried to integrate it as a part of DevStack but looks like the Hdn
 example plugin is incomplete.

 Any help on directions on how to write a neutron plugin  drivers (along
 with instructions on what files need to be changed).

  Thank you.
  Daniel

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev