vmware-nsx/neutron/plugins/ml2/drivers
Jakub Libosvar 8f0a303443 Fix H302 violations in plugins package
H302 violation is reported by flake8 when importing separated objects from
modules instead of importing the whole module.
e.g.   from package.module import function
       function()
is changed to
       from package import module
       module.function()

Change-Id: I83372124f4fba7b94bbfb4a56a0c0ef779ee237f
Partial-Bug: #1291032
2014-05-04 12:40:05 +02:00
..
brocade Use save_and_reraise_exception when reraise exception 2014-03-21 21:31:55 +09:00
cisco Cisco APIC ML2 mechanism driver, part 1 2014-04-25 09:20:39 -04:00
l2pop Enable flake8 E711 and E712 checking 2014-04-09 23:03:57 -04:00
mech_arista Typographical correction of Arista ML2 help 2014-04-07 21:45:49 -04:00
mech_bigswitch Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
mlnx Remove extra space in help string 2014-03-22 11:38:09 +01:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
mech_agent.py Enable hacking H301 check 2014-04-01 13:10:14 -04:00
mech_hyperv.py Replace binding:capabilities with binding:vif_details 2014-02-23 22:56:45 -05:00
mech_linuxbridge.py Replace binding:capabilities with binding:vif_details 2014-02-23 22:56:45 -05:00
mech_ofagent.py Adds OVS_HYBRID_PLUG flag to portbindings 2014-03-26 23:41:19 -07:00
mech_openvswitch.py Adds OVS_HYBRID_PLUG flag to portbindings 2014-03-26 23:41:19 -07:00
mechanism_ncs.py Fix URL used in NCS mechanism driver sync_full() operation 2013-09-18 07:00:24 +00:00
mechanism_odl.py Enforce required config params for ODL driver 2014-04-08 06:41:31 +00:00
README.odl Add OpenDaylight ML2 MechanismDriver 2014-03-05 14:04:39 +00:00
type_flat.py Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
type_gre.py Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
type_local.py Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
type_tunnel.py Enable hacking H301 check 2014-04-01 13:10:14 -04:00
type_vlan.py Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
type_vxlan.py Merge "ml2: gre, vxlan type driver can leak segment_id" 2013-12-18 17:04:29 +00:00

OpenDaylight ML2 MechanismDriver
================================
OpenDaylight is an Open Source SDN Controller developed by a plethora of
companies and hosted by the Linux Foundation. The OpenDaylight website
contains more information on the capabilities OpenDaylight provides:

    http://www.opendaylight.org

Theory of operation
===================
The OpenStack Neutron integration with OpenDaylight consists of the ML2
MechanismDriver which acts as a REST proxy and passess all Neutron API
calls into OpenDaylight. OpenDaylight contains a NB REST service (called
the NeutronAPIService) which caches data from these proxied API calls and
makes it available to other services inside of OpenDaylight. One current
user of the SB side of the NeutronAPIService is the OVSDB code in
OpenDaylight. OVSDB uses the neutron information to isolate tenant networks
using GRE or VXLAN tunnels.

How to use the OpenDaylight ML2 MechanismDriver
===============================================
To use the ML2 MechanismDriver, you need to ensure you have it configured
as one of the "mechanism_drivers" in ML2:

    mechanism_drivers=opendaylight

The next step is to setup the "[ml2_odl]" section in either the ml2_conf.ini
file or in a separate ml2_conf_odl.ini file. An example is shown below:

    [ml2_odl]
    password = admin
    username = admin
    url = http://192.168.100.1:8080/controller/nb/v2/neutron

When starting OpenDaylight, ensure you have the SimpleForwarding application
disabled or remove the .jar file from the plugins directory. Also ensure you
start OpenDaylight before you start OpenStack Neutron.

There is devstack support for this which will automatically pull down OpenDaylight
and start it as part of devstack as well. The patch for this will likely merge
around the same time as this patch merges.