- play_arrow Virtual Route Reflector Overview
ON THIS PAGE
Installing the Virtual Route Reflector Image Using OpenStack
OpenStack is a free, open-source cloud computing platform that supports creation and management of virtual Route Reflectors (vRR). OpenStack allows you to:
Attach a VNIC to a physical NIC
Display a graphical representation of the virtual machine
Allocate a specific amount of disk space for the virtual machine
Take a snapshot of a running virtual machine
Create a new virtual machine from a snapshot
The physical and virtual machines are connected using OpenvSwitch, which eliminates the need to configure tunnels and overlays, such as MPLS over GRE and MPLS over UDP. OpenvSwitch also provides better performance than other methods, because the physical NICs are dedicated to specific VNICs.
This topic includes the following tasks:
Composing User Authentication Credentials
Appropriate user credentials are required for authentication to succeed for every OpenStack command. You can compose credentials with either of the following two methods:
Exporting User Credentials Once
To avoid passing user credentials every time you use the OpenStack command line, export the credentials:
Passing User Credentials Each Time You Use a Command
To pass credentials on the command line every time you execute an OpenStack command:
--os-username username --os-password password --os-tenant-name tenant-name --os-auth-url http://ip_address_of_keystone:portNumber /v2.0
where
username
—OpenStack user nametenant-name
—Tenant namepassword
—Password for OpenStack userip_address_of_keystone:portNumber
—IP address of the keystone authentication server and its port number
Registering an Image
Before the vRR image can be used to create a vRR instance, the image must be brought into the glance directory.
To bring the vRR image into the glance directory:
stack@host$ glance image-create --name image-name --disk-format=qcow2 --container-format= bare --file=image-location
where
image-name
—A name for the image. This name is used later when creating the vRR instance.image-location
—The location of the vRR image.
Updating the Disk, CD-ROM, and VIF Settings for the Image
By default, OpenStack uses virtio for disk, CDROM, and VIF (NIC) models, but Junos-based images do not support virtio drivers. You must update the image to change these settings.
Creating a Virtual Hardware Template
A virtual hardware template in OpenStack is called a flavor. A flavor defines a set of hardware parameters, and is later applied to the vRR instance.
To create a flavor for a vRR instance:
Creating Networks and Subnets
Create networks and subnets for internal and external communication. The virtual NICs of the vRR instances can later be attached to the subnets.
Creating a vRR Instance
An instance is a virtual machine on which the vRR runs. To create the instance, you provide the image name, the flavor, the network ID for the virtual NIC, and a name for the instance.
To create a vRR instance:
Creating a Router
An OpenStack router is a logical entity that routes packets among internal subnets, forwards packets from internal networks to external networks, and accesses the vRR instances from external networks. You must create a router and create an interface on the router for each subnet with which it communicates.
The em0 interface can only function as a management interface. You cannot use the em0 interface for routing configurations.