Jump to: navigation, search

Brocade Vyatta L3 Plugin

Revision as of 22:22, 13 August 2014 by Karthik Natarajan (talk | contribs) (Created page with "== '''Introduction''' == Cloud service providers want to use Brocade Vyatta vRouter as a tenant virtual router in their OpenStack cloud. In order to perform the vRouter VM li...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

Cloud service providers want to use Brocade Vyatta vRouter as a tenant virtual router in their OpenStack cloud. In order to perform the vRouter VM lifecycle management and required configurations, a new Neutron L3 plugin for Brocade Vyatta vRouter is required.

Brocade Neutron L3 Plugin for Vyatta vRouter supports CRUD operations on vRouter, add/remove interfaces from vRouter and floating IPs for VMs. It performs vRouter VM lifecyle management by calling Nova APIs during the Create and Delete Router calls. Once the vRouter VM is up, L3 plugin connects to the REST API end-point exposed by the vRouter VM using REST API to perform the appropriate configurations.L3 plugin supports add/remove router interfaces by attaching/detaching the neutron ports to vRouter VM using Nova API.

Plugin Configuration

1. Edit Neutron configuration file /etc/neutron/neutron.conf to specify Vyatta vRouter L3 plugin:

  service_plugins =
    neutron.plugins.brocade.vyatta.vrouter_neutron_plugin.VyattaVRouterPlugin

2. Import the Brocade Vyatta vRouter image using the below glance command:

  glance image-create --name "Vyatta vRouter" --is-public true
  --disk-format qcow2 --file ./vyatta_l3_plugin/image/vyatta_vrouter.qcow2
  --container-format bare

3. Note the provider management network name. This needs to be specified in the plugin configuration.

4. Configure the L3 plugin configuration file /etc/neutron/plugins/brocade/vyatta/vrouter.ini with the below parameters:

# Service VM Tenant admin name
tenant_admin_name = admin
# Service VM Tenant admin password
tenant_admin_password = devstack
# Service VM Tenant-id
tenant_id = <UUID of the admin or service VM tenant>
# Vyatta vRouter Image id. Image should be imported using Glance
image_id = <UUID>
# vRouter VM Flavor-id (Small)
flavor = 2
# vRouter Management network name
management_network = management

Once configured, L3 plugin will be invoked for the CRUD operations on tenant router, add/remove router interfaces and floating ip support.