Introduction

In this lab we will connect to our virtual machine, ensure that it is running up to date software and install the Ryu OpenFlow Controller

Goals

Notes

Installation

Updating and installing required packages

The first step is to make sure that you have up-to-date software. Use the following command, entering in the sysadm password when prompted.

$ sudo apt-get update
[sudo] password for sysadm: 

Once this is updated install some essential packages using the following command

$ sudo apt-get install build-essential pkg-config autoconf automake python-qt-dev python-dev python-twisted-conch libtool libxml2-dev libxslt1-dev git python-pip python-bson

Installing Ryu

In order to install Ryu and all of it's dependancies all that is required is to run the following command.

$ sudo pip install ryu  

There will be lots of expected errors, but it should complete with the following output.

Successfully installed ryu eventlet routes webob paramiko lxml netaddr oslo.config msgpack-python greenlet repoze.lru ecdsa six
Cleaning up...

You can check that the installation has gone well by running the ryu-manager program.

$ ryu-manager 
loading app ryu.controller.ofp_handler
instantiating app ryu.controller.ofp_handler of OFPHandler  

Press Ctrl-C to exit

--End