Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/OpenFlowRyu


Ignore:
Timestamp:
02/25/17 18:30:59 (7 years ago)
Author:
Nabeel Akhtar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/OpenFlowRyu

    v1 v1  
     1= Intro to OpenFlow using OVS =
     2
     3== Overview: ==
     4This 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:
     5  1. Write a controller that will '''duplicate all the traffic''' of the !OpenFlow switch out a specific port
     6  2. ''' TCP Port Forward''' controller. Diverge all traffic destined to host A on TCP port X to TCP port Y
     7  3. '''Proxy Controller'''. Write a controller that will diverge all traffic destined to host A, TCP port X to host B, TCP port Y
     8
     9In this tutorial we are going to use [http://openvswitch.org/ Open vSwitch (OVS)] as an !OpenFlow switch connected to three hosts.
     10OVS 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.
     11For this tutorial we are going to use the [http://osrg.github.io/ryu/ Ryu controller], this is just an example of [wiki:OpenFlow/Controllers many controllers].
     12
     13[[Image(GENIExperimenter/Graphics:simple_ovs.png)]]
     14
     15== Prerequisites: ==
     16   - A GENI account, if you don't have one [wiki:SignMeUp sign up!]
     17   - 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:
     18      * Reserving resources using Flack [wiki:GENIExperimenter/Tutorials/RunHelloGENI tutorial]
     19      * Reserving resources using Omni [wiki:GENIExperimenter/Tutorials/HelloOmni tutorial]
     20   - Familiarity with [wiki:HowTo/LoginToNodes logging in to GENI compute resources].
     21   - Basic understanding of OpenFlow. If you are going over this tutorial at home, flip through the [attachment:IntroToOpenFlow_140123.pptx  tutorial's slides]
     22   - Familiarity with Unix Command line
     23   - Familiarity with python programming language.  We are going to use the [http://osrg.github.io/ryu/ Ryu controller], this is just an example of [wiki:OpenFlow/Controllers many controllers], and Ryu is written in python.
     24     
     25== Tools: ==
     26   - [http://openvswitch.org/ Open vSwitch]. OVS is already be installed on your host. Installation was completed as described [http://groups.geni.net/geni/wiki/HowTo/InstallOVSInProtoGENI here].
     27   - [http://osrg.github.io/ryu/ Ryu controller]. Ryu controller is installed in your host as part of the sliver creation.
     28
     29== Where to get help: ==
     30   - If you need help with GENI, email [mailto:help@geni.net]
     31   - If you have questions about !OpenFlow, OVS, Ryu you can subscribe to [https://mailman.stanford.edu/mailman/listinfo/openflow-discuss openflow-discuss] or any of the other mailing lists listed.
     32
     33== Resources: ==
     34   - [http://www.openflow.org/ Learn more about OpenFlow]
     35   - [http://osrg.github.io/ryu/ Ryu controller]
     36   - [http://openvswitch.org/ Learn more about OVS]
     37
     38== Tutorial Instructions ==
     39{{{
     40#!html
     41
     42
     43<table id="Table_01" height="409" border="0" cellpadding="0" cellspacing="0">
     44        <tr>
     45                <td>
     46                        <a href="http://groups.geni.net/geni/wiki/JoeSandbox/OpenFlowOVS/DesignSetup"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/design.png?format=raw" width="152" height="152" alt="Design/Setup"></a>
     47               </td>
     48               <td>
     49<ul>
     50             <li><a href="http://groups.geni.net/geni/wiki/JoeSandbox/OpenFlowOVS/DesignSetup">Part I: Design/Setup</a></li>
     51             <ul>
     52                 <li>Step 1:  Obtain Resources</li>
     53             </ul></ul>
     54               </td>
     55        </tr>
     56        <tr>
     57                <td>
     58                        <a href="http://groups.geni.net/geni/wiki/JoeSandbox/OpenFlowOVS/Execute"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/execute.png?format=raw" width="152" height="143" alt="Execute"></a>
     59                </td>
     60                <td>
     61             <ul>
     62<li><a href="http://groups.geni.net/geni/wiki/JoeSandbox/OpenFlowOVS/Execute">Part II: Execute</a></li>
     63             <ul>
     64                 <li>Step 2:  Configure and Initialize Services </li>
     65                 <li>Step 3:  Execute Experiment </li>
     66             </ul></ul>
     67                </td>
     68        </tr>
     69        <tr>
     70                <td>
     71                        <a href="http://groups.geni.net/geni/wiki/JoeSandbox/OpenFlowOVS/Finish"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/finish.png?format=raw" width="152" height="114" alt="Finish"></a>
     72                </td>
     73
     74                <td>
     75             <ul>
     76             <li><a href="http://groups.geni.net/geni/wiki/JoeSandbox/OpenFlowOVS/Finish">Part III: Finish</a></li>
     77             <ul>
     78                 <li>Step 4:  Teardown Experiment</li>
     79             </ul></ul>
     80                </td>
     81
     82        </tr>
     83</table>