RETIRED, SDN based Distributed Virtual Router for OpenStack Neutron
Go to file
Gal Sagie eda4e9b455 Stop unneeded cloning of Neutron during CI
Allow the Zuul "Depends-On" to work better.
Adopting the solution developed by Doug Wiegley for LBaaS:
c61f920f2a54fd829ee37484b3743ab77b909847

Change-Id: I0496c144fc7951c0f518427e3e7ff22103b6650d
2015-08-31 11:55:09 +03:00
devstack Refactor pluggable DB module 2015-08-30 16:27:52 +03:00
doc Change local.conf to enable VNC in compute node the right way 2015-08-31 11:41:56 +03:00
dragonflow Fix device owner setting in plugin 2015-08-31 10:24:32 +03:00
ovn-patch Dragonflow Plugin and etcd implementation 2015-08-10 16:41:39 +03:00
tools Stop unneeded cloning of Neutron during CI 2015-08-31 11:55:09 +03:00
.coveragerc Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
.gitignore Dragonflow Plugin and etcd implementation 2015-08-10 16:41:39 +03:00
.gitreview Update .gitreview file for project rename 2015-06-12 23:12:30 +00:00
.mailmap Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
.testr.conf Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
HACKING.rst Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
LICENSE Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
MANIFEST.in Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
README.rst README: Cleanup and refactor 2015-07-28 15:52:59 +00:00
babel.cfg Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
neutron-l3-controller-agent Set Up the neutron l3 sdn addon using neutron as library 2015-03-01 18:16:07 +02:00
openstack-common.conf Initial Cookiecutter Commit. 2015-01-29 16:46:27 +02:00
requirements.txt Updated from global requirements 2015-08-26 13:54:30 +00:00
setup.cfg Add empty ML2 template for Dragonflow 2015-07-07 10:45:02 +03:00
setup.py Updated from global requirements 2015-07-15 01:31:51 +00:00
test-requirements.txt Removing unused dependency: discover 2015-08-28 21:31:28 +02:00
tox.ini Stop unneeded cloning of Neutron during CI 2015-08-31 11:55:09 +03:00

README.rst

SDN based Virtual Router add-on for Neutron OpenStack

Documentation:

Overview

Dragonflow is an implementation of a fully distributed virtual router for OpenStack Neutron, which is based on a Software-Defined Network Controller (SDNC) design.

The main purpose of Dragonflow is to simplify the management of the virtual router, while improving performance, scale and eliminating single point of failure and the notorious network node bottleneck.

The proposed method is based on the separation of the routing control plane from the data plane. This is accomplished by implementing the routing logic in distributed forwarding rules on the virtual switches. In OpenFlow these rules are called flows. To put this simply, the virtual router is implemented using OpenFlow flows.

Dragonflow eliminates the use of namespaces in contrast to the standard DVR implementation. A diagram showing Dragonflow components and overall architecture can be seen here:

Solution Overview

Perhaps the most important part of the solution is the OpenFlow pipeline which we install into the integration bridge upon bootstrap. This is the flow that controls all traffic in the OVS integration bridge (br-int). The pipeline works in the following manner:

1) Classify the traffic
2) Forward to the appropriate element:
    1. If it is ARP, forward to the ARP Responder table
    2. If routing is required (L3), forward to the L3 Forwarding table
       (which implements a virtual router)
    3. All L2 traffic and local subnet traffic are offloaded to the NORMAL
       pipeline handled by ML2
    4. North/South traffic is forwarded to the network node (SNAT)

The following diagram shows the multi-table OpenFlow pipeline installed into the OVS integration bridge (br-int) in order to represent the virtual router using flows only:

Pipeline

A detailed blog post describing the solution can be found Here.

How to Install

Installation Guide

DevStack Single Node Configuration

DevStack Multi Node Configuration

Prerequisites

Install DevStack with Neutron ML2 as core plugin Install OVS 2.3.1 or newer

Features

  • APIs for routing IPv4 East-West traffic
  • Performance improvement for inter-subnet network by removing the amount of kernel layers (namespaces and their TCP stack overhead)
  • Scalability improvement for inter-subnet network by offloading L3 East-West routing from the Network Node to all Compute Nodes
  • Reliability improvement for inter-subnet network by removal of Network Node from the East-West traffic
  • Simplified virtual routing management
  • Support for all type drivers GRE/VXLAN/VLAN
  • Support for centralized shared public network (SNAT) based on the legacy L3 implementation
  • Support for centralized floating IP (DNAT) based on the legacy L3 implementation
  • Support for HA, in case the connection to the Controller is lost, fall back to the legacy L3 implementation until recovery. Reused all the legacy L3 HA. (Controller HA will be supported in the next release).
  • Supports for centralized IPv6 based on the legacy L3 implementation

TODO

  • Add support for North-South L3 IPv4 distribution (SNAT and DNAT)
  • Add support for IPv6
  • Support for multi controllers solution

Full description can be found in the project Blueprints