Jump to: navigation, search

Difference between revisions of "Neutron"

(Plugins)
 
(177 intermediate revisions by 62 users not shown)
Line 1: Line 1:
__NOTOC__
+
[[Category:Networking]]
== What is Quantum? ==
+
[[Category:Neutron]]
 +
= OpenStack Networking ("Neutron") =
  
Quantum is a project to provide "network connectivity as a service" between devices managed by other Openstack services such as nova.
+
{{Warning|header='''Caution'''|body=The content of this wiki may be obsolete and replaced by content available at: https://docs.openstack.org/neutron/latest/}}
  
Quantum is a result of discussions at the Diablo design summit around improving [[OpenStack]] networking.  Quantum is not yet officially in Openstack incubation, but we already integrate with Openstack technologies like Nova and hope to be accepted for incubation project soon.  If you're a networking geek and like to hack on [[OpenStack]], please join!  
+
{| border="1" cellpadding="2" cellspacing="0"
 +
|  [http://docs.openstack.org/networking-guide/index.html OpenStack Networking Guide ]
 +
|-
 +
|  [http://docs.openstack.org/admin-guide-cloud/content/ch_networking.html Administrator Guide ]
 +
|-
 +
|  [http://docs.openstack.org/user-guide/content/neutron_client_sample_commands.html Neutron CLI Guide ]
 +
|-
 +
| [http://docs.openstack.org/api/openstack-network/2.0/content/  API Developer Doc (v2) ]
 +
|-
 +
| [https://github.com/openstack/neutron  Source code ]
 +
|-
 +
| [https://bugs.launchpad.net/neutron Bug tracker  ]
 +
|-
 +
| [https://blueprints.launchpad.net/neutron Blueprints ]
 +
|}
 +
 
 +
== Neutron Mission Statement ==
 +
To implement services and associated libraries to provide on-demand, scalable, and technology-agnostic network abstraction. [https://git.openstack.org/cgit/openstack/governance/tree/reference/programs.yaml Source]
 +
 
 +
== What is Neutron? ==
 +
Neutron is an OpenStack project to provide "networking as a service" between interface devices (e.g., vNICs) managed by other Openstack services (e.g., nova).   
 +
 
 +
Starting in the Folsom release, Neutron is a core and supported part of the OpenStack platform (for Essex, we were an "incubated" project, which means use is suggested only for those who really know what they're doing with Neutron).   
 +
 
 +
If you're a networking geek and like to hack on OpenStack, please join!  
  
 
More Info:  
 
More Info:  
* [[ http://www.slideshare.net/danwent/quantum-diablo-summary | Slides describing Quantum ]] from the Diablo Summit (4/28/11)
+
* [http://www.slideshare.net/danwent/openstack-quantum-intro-os-meetup-32612 Overview of Neutron] (slides) (3/12)
* [[ QuantumOverview | Overview of Quantum Wiki Page ]]  
+
* [https://www.youtube.com/watch?v=_I1SrO2QBpg Neutron Project Overview + Update from Grizzly Summit] (video) (10/12)
 +
* [http://www.infoq.com/presentations/Quantum-Virtual-Networks-for-OpenStack Video Neutron Overview] (3/12)
 +
* [http://sdrv.ms/YdnQYS Slides on Technical Architecture of Neutron] (2013-03-14)
 +
* [https://www.gitbook.com/read/book/yeasy/openstack_understand_neutron Understanding Neutron (in CN)] (2015-03-24)
 +
 
 +
== Related projects ==
 +
* [https://launchpad.net/python-neutronclient Python Neutron client]
 +
* Neutron Admin and API documentation in [https://launchpad.net/openstack-manuals  OpenStack Manuals]
 +
* Tempest testing project [http://docs.openstack.org/developer/tempest/ Tempest Manuals]. For the Icehouse cycle, the community is undertaking a focused effort to strengthen the suite of Tempest tests for Neutron. If you are interested on contributing to this effort, please go to [https://etherpad.openstack.org/p/icehouse-summit-qa-neutron Icehouse Neutron Tempest push] to see what is being done and to [https://wiki.openstack.org/wiki/Neutron/TempestAPITests TempestAPITests] for HOWTO instructions. Helping to develop Tempest tests (particularly API tests) is an excellent way for new contributors to learn Neutron.
 +
 
 +
== Why Neutron? ==
 +
 
 +
* Give cloud tenants an API to build rich networking topologies, and configure advanced network policies in the cloud. 
 +
** Example: create multi-tier web application topology
 +
* Enable innovation plugins (open and closed source) that introduce advanced network capabilities
 +
** Example:  use L2-in-L3 tunneling to avoid VLAN limits, provide end-to-end QoS guarantees, use monitoring protocols like [[NetFlow]].
 +
* Let anyone build advanced network services (open and closed source) that plug into Openstack tenant networks. 
 +
** Examples:  LB-aaS, VPN-aaS, firewall-aaS, IDS-aaS (not implemented), data-center-interconnect-aaS.
 +
* Horizon GUI support for:
 +
** Neutron L2 and L3 network and subnet creation/deletion
 +
** Booting VMs on specific Neutron networks. 
 +
* API Extensibility Framework, including extensions for:
 +
** "provider network", which maps Neutron L2 networks to a specific VLAN in the physical data center
 +
 
 +
== Using Neutron ==
 +
 
 +
Follow the instructions in the  [http://docs.openstack.org/networking-guide/index.html  Networking Guide], or use the installation documentation at http://docs.openstack.org to use Neutron with OpenStack Nova. 
 +
 
 +
Forget documentation, I just want to get the code!:  [https://launchpad.net/neutron/+download Neutron Downloads]
 +
 
 +
Detailed information for programming against v2.0 of the Neutron web services API is available in the [http://docs.openstack.org/api/openstack-network/2.0/content/  Neutron API Guide] 
 +
 
 +
If you are looking for information on using Neutron with devstack, please see: [[NeutronDevstack]] .
 +
 
 +
Neutron lets you use a set of different backends called "plugins" that work with a growing variety of networking technologies.  These plugins may be distributed as part of the main Neutron release, or separately.
 +
 
 +
== Plugins ==
 +
The set of plugins originally included in the main Neutron distribution and supported by the Neutron community include:
 +
 
 +
* [http://www.openvswitch.org Open vSwitch] Plugin
 +
* [http://networking-cisco.readthedocs.io/en/latest/  Cisco UCS/Nexus] Plugin
 +
* [http://networking-cisco.readthedocs.io/en/latest/  Cisco ASR1000] Plugin
 +
* [http://wiki.openstack.org/Quantum-Linux-Bridge-Plugin  Linux Bridge] Plugin
 +
* [http://wiki.openstack.org/Neutron/ML2  Modular Layer 2] Plugin
 +
* [http://www.nicira.com  Nicira Network Virtualization Platform (NVP)] Plugin
 +
* [http://www.osrg.net/ryu/using_with_openstack.html  Ryu OpenFlow Controller] Plugin
 +
* [[Neutron/NEC OpenFlow Plugin|NEC OpenFlow]] Plugin
 +
* [http://docs.projectfloodlight.org/display/floodlightcontroller/Quantum+REST+Proxy+Plugin  Big Switch Controller Plugin]
 +
* [http://www.cloudbase.it/quantum-hyper-v-plugin/  Cloudbase Hyper-V] Plugin
 +
* [http://www.midonet.org  MidoNet] Plugin
 +
* [https://github.com/brocade/brocade  Brocade Neutron Plugin] Brocade Neutron Plugin
 +
* [https://wiki.openstack.org/wiki/PLUMgrid-Neutron PLUMgrid] Plugin
 +
* [https://wiki.openstack.org/wiki/Mellanox-Neutron Mellanox Neutron Plugin] Mellanox Neutron Plugin
 +
* [https://wiki.openstack.org/wiki/Neutron/EmbraneNeutronPlugin Embrane Neutron Plugin]
 +
* [https://wiki.openstack.org/wiki/IBM-Neutron IBM SDN-VE] Plugin
 +
* [http://www.cplanenetworks.com/ CPLANE NETWORKS ] CPLANE NETWORKS
 +
* [http://www.nuagenetworks.net/ Nuage Networks] Plugin
 +
* [http://www.opencontrail.org OpenContrail] OpenContrail Plugin
 +
* [[Neutron/ML2/LenovoML2Mechanism|Lenovo Networking]] Lenovo Networking Plugin
 +
* [https://wiki.openstack.org/wiki/Avaya-Neutron Avaya Neutron Plugin] Avaya Neutron Plugin
 +
 
 +
 
 +
 
 +
 
 +
Additional plugins are available from other sources:
 +
* [http://networking-cisco.readthedocs.io/en/latest/  Cisco Systems] Plugin
 +
* [http://www.extremenetworks.com  Extreme Networks] Plugin
 +
* [https://github.com/ruijie/rgos_quantum_plugin  Ruijie Networks] Plugin
 +
* [https://www.juniper.net/support/downloads/?p=qpluginopen#sw Juniper Networks] Neutron Plugin
 +
* [http://www.projectcalico.org/ Calico] [https://github.com/Metaswitch/calico Neutron Plugin] ([http://docs.projectcalico.org/en/latest/openstack.html docs])
 +
* [https://github.com/China863SDN/DCFabric  BNC] Plugin ([http://www.sdn863.org.cn/ docs])
 +
* [https://github.com/asterfusion/networking-afc Asterfusion Networks] Plugin
 +
If you have your own plugin, feel free to add it to this list.
  
== Why Quantum? ==
+
== Havana Release and ML2 Plugin Update ==
 +
Starting with Havana release, openvswitch and linuxbridge plugins are deprecated. Modular Layer 2 (ML2) plugin replaces these plugins.
 +
L2 agents work with ML2 plugin and continue to work with the deprecated monolithic plugins.
  
* Support flexible model for creating network topologies between VM interface and other network devices.
+
ML2 plugin architecture facilitates the type drivers to support multiple networking technologies, and mechanism drivers to facilitate the access to the networking configuration in a transactional model. The details of these drivers is described [https://wiki.openstack.org/wiki/Neutron/ML2#ML2_Drivers here]. Long term goal is to transition all vendor specific plugins to the type and mechanism drivers.  
** Example: create multi-tier applications that go beyond what is possible with nova's [[FlatManager]] or [[VlanManager]]
 
* Open the floodgates to let anyone build services (open or closed) that plug into Openstack networks. 
 
** Examples:  VPN-aaS, firewall-aaS, IDS-aaS.
 
* Enable innovation plugins that overcomes common cloud networking problems
 
** Example:  avoid VLAN limits, provide strong end-to-end QoS guarantees.  
 
  
== Current Status ==
+
Following [https://wiki.openstack.org/wiki/Neutron/ML2#Type_Drivers Type Drivers] are supported:
 +
* Flat
 +
* Local
 +
* VLAN
 +
* GRE
 +
* VxLan
  
Quantum was proposed at the Diablo summit (end of April 2011) and in just a few months we've made a ton of progress. 
 
  
We have the basic web services API, CLI tools, and a plugin that works on Linux (KVM + [[XenServer]]) when used in conjunction with changes that will be landing in nova with the Diablo-3 release (end-of-July). We will be publishing tutorials once the Diable-3 release it available. Additional plugins are also in the works, as is a framework to allow plugins to provide extensions that expose advanced functionality.
+
Following Vendor specific [https://wiki.openstack.org/wiki/Neutron/ML2#Mechanism_Drivers Mechanism Drivers] are supported:
 +
* [https://wiki.openstack.org/wiki/Ml2-huawei-switch-mech-driver Huawei Switch Driver]
 +
* [https://wiki.openstack.org/wiki/Arista-neutron-ml2-driver Arista Driver]
 +
* [https://wiki.openstack.org/wiki/Neutron/ML2/MechCiscoNexus Cisco Nexus Driver]
 +
* [https://wiki.openstack.org/wiki/Neutron/ML2/Tail-f-NCS-neutron-ml2-driver Tail-f NCS Driver]
  
 
== Participate ==
 
== Participate ==
  
To get code, ask questions, view blueprints, etc, see: [[ https://launchpad.net/quantum/ | Quantum Launchpad Page ]]  
+
To get code, ask questions, view blueprints, etc, see: [https://launchpad.net/neutron/ Neutron Launchpad Page]
  
Email list: https://launchpad.net/~netstack
+
See [[NeutronDevelopment]] for some (rough) guides on how to contribute code to Neutron, including how to add your own plugin.
  
If you would like to participate, please send mail to the netstack list.
+
If you would like to participate, please send mail to the main openstack-dev list:  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
  
== Major Areas of Dev Activity ==
+
You can also attend our regular IRC meetings, which start one hour after the main openstack meeting, on the same #openstack-meeting channel: http://wiki.openstack.org/Network/Meetings
  
* [[ https://blueprints.launchpad.net/nova/+spec/network-refactoring | Nova Network Refactoring ]]  and [[ https://blueprints.launchpad.net/nova/+spec/implement-network-api | Nova Quantum Integration ]]
+
Check out [[NeutronStarterBugs]] for ideas on easy bugs or starter projects you might tackle. Or just start playing with [[NeutronDevstack]] and come up with your own ideas!
* [[ https://blueprints.launchpad.net/quantum/+spec/quantum-api-extensions | API Extensions ]]
 
* [[ https://blueprints.launchpad.net/quantum/+spec/quantum-api-auth | API Authentication ]]
 
* [[ https://blueprints.launchpad.net/quantum/+spec/quantum-client-library | API Client Library ]]
 
* [[ https://blueprints.launchpad.net/quantum/+spec/quantum-client-gui | API Client: Openstack Client GUI ]]  
 
  
== Related Netstack Activities ==
+
== Related pages ==
 +
=== Neutron/* ===
 +
{{Special:PrefixIndex/Neutron}}
  
* [[ https://blueprints.launchpad.net/nova/+spec/melange-network-info-svcs | Melange work for IPAM / DHCP service. ]]
+
=== Network/* ===
 +
{{Special:PrefixIndex/Network}}

Latest revision as of 11:43, 28 December 2020

OpenStack Networking ("Neutron")

Warning icon.svg Caution

The content of this wiki may be obsolete and replaced by content available at: https://docs.openstack.org/neutron/latest/
OpenStack Networking Guide
Administrator Guide
Neutron CLI Guide
API Developer Doc (v2)
Source code
Bug tracker
Blueprints

Neutron Mission Statement

To implement services and associated libraries to provide on-demand, scalable, and technology-agnostic network abstraction. Source

What is Neutron?

Neutron is an OpenStack project to provide "networking as a service" between interface devices (e.g., vNICs) managed by other Openstack services (e.g., nova).

Starting in the Folsom release, Neutron is a core and supported part of the OpenStack platform (for Essex, we were an "incubated" project, which means use is suggested only for those who really know what they're doing with Neutron).

If you're a networking geek and like to hack on OpenStack, please join!

More Info:

Related projects

  • Python Neutron client
  • Neutron Admin and API documentation in OpenStack Manuals
  • Tempest testing project Tempest Manuals. For the Icehouse cycle, the community is undertaking a focused effort to strengthen the suite of Tempest tests for Neutron. If you are interested on contributing to this effort, please go to Icehouse Neutron Tempest push to see what is being done and to TempestAPITests for HOWTO instructions. Helping to develop Tempest tests (particularly API tests) is an excellent way for new contributors to learn Neutron.

Why Neutron?

  • Give cloud tenants an API to build rich networking topologies, and configure advanced network policies in the cloud.
    • Example: create multi-tier web application topology
  • Enable innovation plugins (open and closed source) that introduce advanced network capabilities
    • Example: use L2-in-L3 tunneling to avoid VLAN limits, provide end-to-end QoS guarantees, use monitoring protocols like NetFlow.
  • Let anyone build advanced network services (open and closed source) that plug into Openstack tenant networks.
    • Examples: LB-aaS, VPN-aaS, firewall-aaS, IDS-aaS (not implemented), data-center-interconnect-aaS.
  • Horizon GUI support for:
    • Neutron L2 and L3 network and subnet creation/deletion
    • Booting VMs on specific Neutron networks.
  • API Extensibility Framework, including extensions for:
    • "provider network", which maps Neutron L2 networks to a specific VLAN in the physical data center

Using Neutron

Follow the instructions in the Networking Guide, or use the installation documentation at http://docs.openstack.org to use Neutron with OpenStack Nova.

Forget documentation, I just want to get the code!: Neutron Downloads

Detailed information for programming against v2.0 of the Neutron web services API is available in the Neutron API Guide

If you are looking for information on using Neutron with devstack, please see: NeutronDevstack .

Neutron lets you use a set of different backends called "plugins" that work with a growing variety of networking technologies. These plugins may be distributed as part of the main Neutron release, or separately.

Plugins

The set of plugins originally included in the main Neutron distribution and supported by the Neutron community include:



Additional plugins are available from other sources:

If you have your own plugin, feel free to add it to this list.

Havana Release and ML2 Plugin Update

Starting with Havana release, openvswitch and linuxbridge plugins are deprecated. Modular Layer 2 (ML2) plugin replaces these plugins. L2 agents work with ML2 plugin and continue to work with the deprecated monolithic plugins.

ML2 plugin architecture facilitates the type drivers to support multiple networking technologies, and mechanism drivers to facilitate the access to the networking configuration in a transactional model. The details of these drivers is described here. Long term goal is to transition all vendor specific plugins to the type and mechanism drivers.

Following Type Drivers are supported:

  • Flat
  • Local
  • VLAN
  • GRE
  • VxLan


Following Vendor specific Mechanism Drivers are supported:

Participate

To get code, ask questions, view blueprints, etc, see: Neutron Launchpad Page

See NeutronDevelopment for some (rough) guides on how to contribute code to Neutron, including how to add your own plugin.

If you would like to participate, please send mail to the main openstack-dev list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

You can also attend our regular IRC meetings, which start one hour after the main openstack meeting, on the same #openstack-meeting channel: http://wiki.openstack.org/Network/Meetings

Check out NeutronStarterBugs for ideas on easy bugs or starter projects you might tackle. Or just start playing with NeutronDevstack and come up with your own ideas!

Related pages

Neutron/*

Network/*