OpenContrail driver

Introduction

The OpenContrail driver for the BGPVPN service plugin is designed to work jointly with the OpenContrail SDN controller.

Limitations

VPN Type

The OpenContrail driver for the BGPVPN service plugin can create only L3 VPN type. The L2 is not yet supported.

Route Distinguishers

The OpenContrail driver for the BGPVPN service plugin does not permit specifying route distinguisher.

Router Association

The OpenContrail driver for the BGPVPN service plugin does not support associations with routers. Only network associations are available for the moment.

How to use ?

On an Openstack Installation

[TBC (package installation + config)]

In devstack

A devstack plugin can be used to setup an OpenContrail dev/test platform.

  • Clone devstack:

    git clone git@github.com:openstack-dev/devstack -b stable/mitaka

  • Here a proposed devstack local.conf file which permits to deploy OpenStack keystone, glance, nova, neutron/networking-bgpvpn and compile/install all OpenContrail services and dependences:

[[local|localrc]]
LOG=True
LOGDAYS=1
PASSWORD="secret"
DATABASE_PASSWORD=$PASSWORD
RABBIT_PASSWORD=$PASSWORD
SERVICE_TOKEN=$PASSWORD
SERVICE_PASSWORD=$PASSWORD
ADMIN_PASSWORD=$PASSWORD

# disable some nova services
disable_service n-obj n-novnc n-cauth
# disable cinder
disable_service cinder c-api c-vol c-sch
# disable heat
disable_service h-eng h-api h-api-cfn h-api-cw
# diable horizon
disable_service horizon
# disable swift
disable_service swift s-proxy s-object s-container s-account
# disable some contrail services
#disable_service ui-webs ui-jobs named dns query-engine

REQUIREMENTS_BRANCH=stable/mitaka
GLANCE_BRANCH=stable/mitaka
KEYSTONE_BRANCH=stable/mitaka
NEUTRON_BRANCH=stable/mitaka
NOVA_BRANCH=stable/mitaka

DEST=/opt/stack/openstack
CONTRAIL_DEST=/opt/stack/contrail

enable_plugin contrail https://github.com/zioc/contrail-devstack-plugin.git

enable_plugin networking-bgpvpn git://git.openstack.org/openstack/networking-bgpvpn.git stable/mitaka
NETWORKING_BGPVPN_DRIVER="BGPVPN:OpenContrail:networking_bgpvpn.neutron.services.service_drivers.opencontrail.opencontrail.OpenContrailBGPVPNDriver:default"