Brocade Vyatta L3 Plugin

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.



How To Install
Brocade Vyatta L3 Plugin is available in the Python Package Index and can be installed using the command:

pip install networking-brocade

Alternatively, the plugin can be downloaded from the stackforge repository networking-brocade which hosts the latest code and can be installed using the command:

python setup.py install

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

service_plugins = brocade_vyatta_l3

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

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

tenant_admin_name = admin tenant_admin_password = devstack tenant_id =  image_id =  flavor = 2 management_network_id = 
 * 1) Service VM Tenant admin name
 * 1) Service VM Tenant admin password
 * 1) Service VM Tenant-id
 * 1) Vyatta vRouter Image id. Image should be imported using Glance
 * 1) vRouter VM Flavor-id (Small)
 * 1) vRouter Management network id

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