= Intro to OpenFlow using 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. In this tutorial we are going to use [http://www.openswitch.org OVS] as an OpenFlow switch connected to three hosts. OVS is a software switch running on a compute resource. The other three hosts can only communicate through the OVS switch. Although the controller for the switch can run anywhere in the internet, we are going to run it on the same host as the OVS switch to minimize the required resources. For this tutorial we are going to use the [http://www.noxrepo.org/pox/about-pox/ PoX controller], this is just an example of [wiki:OpenFlow/Controllers many controllers]. The OVS switch that we use runs in userspace which although not optimized for performance, it is enough for getting acquainted with OpenFlow. [[Image(GENIExperimenter/Graphics:simple_ovs.png)]] == Prerequisites: == - A GENI account, if you don't have one [wiki:SignMeUp sign up!] - Familiarity with how to reserve GENI resources with any of the GENI Tools (GENI Experimenter Portal, Omni, Flack). If you don't know you can take any of the tutorials: * Reserving resources using Flack [wiki:GENIExperimenter/Tutorials/RunHelloGENI tutorial] * Reserving resources using Omni [wiki:GENIExperimenter/Tutorials/HelloOmni tutorial] - Basic understanding of OpenFlow. If you are going over this tutorial at home, flip through the [attachment:OpenFlowOVS.pdf tutorial's slides] - Familiarity with [http://en.wikipedia.org/wiki/Secure_Shell SSH], and [https://wiki.archlinux.org/index.php/SSH_Keys key access] to hosts. - Familiarity with Unix Command line - Familiarity with python programming language. We are going to use the [http://www.noxrepo.org/pox/about-pox/ PoX controller], this is just an example of [wiki:OpenFlow/Controllers many controllers], and PoX is written in python. == Tools: == - [http://www.openswitch.org OVS OpenVSwitch]. OVS will already be installed in your host. - [http://www.noxrepo.org/pox/about-pox/ PoX controller]. PoX controller will already be installed in your host. == Where to get help: == - If you need help with GENI, email [mailto:help@geni.net] - If you have questions about OpenFlow, OVS, Pox you can subscribe to [https://mailman.stanford.edu/mailman/listinfo/openflow-discuss openflow-discuss] or any of the other mailing lists listed. == Resources: == - [http://www.openflow.org/ Learn more about OpenFlow] - [https://openflow.stanford.edu/display/ONL/POX+Wiki PoX wiki] - [http://openvswitch.org/ Learn more about OVS] == Tutorial Instructions == {{{ #!html
Design/Setup
  • Part I: Design/Setup
    • Step 1: Design Experiment
    • Step 2: Establish Management Environment
    • Step 3: Obtain Resources
Execute
  • Part II: Execute
    • Step 4: Configure and Initialize Services
    • Step 5: Execute Experiment
    • Step 6: Analyze and Visualize Experiment
Finish