Introduction

In this lab we will install routeflow and configure a distributed route fabric

Goals

Notes

Installation

Become root on the controller

$ sudo bash

Ensure that the linux kernel headers are present on the system

# apt-get install linux-headers-3.2.0-56-virtual

Fetch and checkout the appropriate version of RouteFlow

# git clone https://github.com/routeflow/RouteFlow.git
# cd RouteFlow
# git checkout vandervecken

Fetch and checkout the appropriate version of Ryu-RFProxy

# git clone https://github.com/routeflow/ryu-rfproxy.git
# cd ryu-rfproxy
# git checkout vandervecken
# cd .. 

Set off the automated build script

# ./build.sh -c -z ryu

Eventually the following will appear

make[1]: Leaving directory `/home/sysadm/RouteFlow/rfclient'
done.
Finishing up...


# apt-get install lxc
# vi /etc/default/lxc

Make sure that the following line appears near the top of the file

MIRROR="http://apt.ws.nsrc.org:3142/archive.ubuntu.com/ubuntu"

Make the RouteFlow test environment

# cd rftest
# ./create

Copy in the one lib that we still need

# cp /usr/local/lib/libzmq.so.3 /var/lib/lxc/rfvm1/rootfs/usr/local/lib/

# cd ~
# wget http://noc.ws.nsrc.org/rfstart
# chmod 700 rfstart

Run the RouteFlow environment

# ./rfstart

Connect to your datapath element, run the daemons and connect to the controller

$ /root/bootovs-rb532.sh
$ /root/monitor_flows.sh

--End