GENIExperimenter/Tutorials/OpenFlowOVS


This tutorial is no longer actively maintained, see the OpenFlow Tutorial with FloodLight Controller tutorial for a up-to-date experiment


Intro to OpenFlow Tutorial with POX Controller

TinyURL:  http://www.tinyurl.com/geni-ovs

Overview:

This is a simple OpenFlow tutorial that will guide you through the writing of simple OpenFlow controllers to showcase some of the OpenFlow capabilities. We are going to write three different controllers:

  1. Write a controller that will duplicate all the traffic of the OpenFlow switch out a specific port
  2. TCP Port Forward controller. Divert all traffic destined to host A on TCP port X to TCP port Y
  3. Proxy Controller. Write a controller that will divert all traffic destined to host A, TCP port X to host B, TCP port Y

In this tutorial we are using the OpenFlow Software Switch,  Open vSwitch (OVS). The general topology is as pictured below. In general, the controller just needs to have a public IP address, so that it can exchange messages with the OpenFlow switch. The controller for the switch can run anywhere in the Internet. For this tutorial we are going to use a  POX based controller, which is just one example of many controller frameworks.

Prerequisites:

  • A GENI account, if you don't have one sign up!
  • Familiarity with how to reserve GENI resources with any of the GENI Tools (GENI Experimenter Portal, Omni, Jacks). If you don't know you can take any of the tutorials:
    • Reserving resources using Jacks tutorial
    • Reserving resources using Omni tutorial
  • Familiarity with logging in to GENI compute resources.
  • Basic understanding of OpenFlow. If you are doing this tutorial at home, flip through the tutorial's slides
  • Familiarity with the Unix Command line
  • Familiarity with the python programming language. We are going to use the  POX controller, which is just one example of many controller frameworks, and POX is written in python.

Tools:

Where to get help:

Resources:

Tutorial Instructions

Design/Setup
Execute
Finish

Attachments