Jump to: navigation, search

Difference between revisions of "Brocade Vyatta L3 Plugin"

(Plugin Configuration)
Line 12: Line 12:
 
1. Edit Neutron configuration file /etc/neutron/neutron.conf to specify Vyatta vRouter L3 plugin:
 
1. Edit Neutron configuration file /etc/neutron/neutron.conf to specify Vyatta vRouter L3 plugin:
  
   service_plugins =
+
   service_plugins = brocade_vyatta_l3
    neutron.plugins.brocade.vyatta.vrouter_neutron_plugin.VyattaVRouterPlugin
 
  
 
2. Import the Brocade Vyatta vRouter image using the below glance command:
 
2. Import the Brocade Vyatta vRouter image using the below glance command:
Line 20: Line 19:
 
   --disk-format qcow2 --file ./vyatta_l3_plugin/image/vyatta_vrouter.qcow2
 
   --disk-format qcow2 --file ./vyatta_l3_plugin/image/vyatta_vrouter.qcow2
 
   --container-format bare
 
   --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:
 
4. Configure the L3 plugin configuration file /etc/neutron/plugins/brocade/vyatta/vrouter.ini with the below parameters:
Line 36: Line 32:
 
  # vRouter VM Flavor-id (Small)
 
  # vRouter VM Flavor-id (Small)
 
  flavor = 2
 
  flavor = 2
  # vRouter Management network name
+
  # vRouter Management network id
  management_network = management
+
  management_network_id = <UUID of the management network>
  
 
Once configured, L3 plugin will be invoked for the CRUD operations on
 
Once configured, L3 plugin will be invoked for the CRUD operations on
 
tenant router, add/remove router interfaces and floating ip support.
 
tenant router, add/remove router interfaces and floating ip support.

Revision as of 20:50, 29 March 2015

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.

Brocade Vyatta L3 Plugin.png

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:

# 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 id
management_network_id = <UUID of the management network>

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