| 1 | = [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS Intro to OpenFlow using OVS] = |
| 2 | {{{ |
| 3 | #!html |
| 4 | |
| 5 | <div style="text-align:center; width:495px; margin-left:auto; margin-right:auto;"> |
| 6 | <img id="Image-Maps_5201305222028436" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Setup.jpg?format=raw" usemap="#Image-Maps_5201305222028436" border="0" width="495" height="138" alt="" /> |
| 7 | <map id="_Image-Maps_5201305222028436" name="Image-Maps_5201305222028436"> |
| 8 | <area shape="rect" coords="18,18,135,110" href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS/DesignSetupStitch" alt="" title="" /> |
| 9 | <area shape="rect" coords="180,18,297,111" href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS/Execute" alt="" title="" /> |
| 10 | <area shape="rect" coords="344,17,460,110" href="http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS/Finish" alt="" title="" /> |
| 11 | <area shape="rect" coords="493,136,495,138" href="http://www.image-maps.com/index.php?aff=mapped_users_5201305222028436" alt="Image Map" title="Image Map" /> |
| 12 | </map> |
| 13 | <!-- Image map text links - End - --> |
| 14 | |
| 15 | </div> |
| 16 | }}} |
| 17 | |
| 18 | == Step 1. Obtain resources == |
| 19 | |
| 20 | This tutorial can use compute resources from InstaGENI racks that support stitching. For a list of available InstaGENI racks that support stitching see the [wiki:GeniNetworkStitchingSites] page. The experiment will need: |
| 21 | * 1 Xen VM with a public IP to be an OpenFlow controller |
| 22 | * 1 Xen VM to be the !OpenFlow switch |
| 23 | * 3 Xen VMs as hosts |
| 24 | |
| 25 | [[Image(GENIExperimenter/Graphics:OVSOpenFlowTutorialTopology.jpg,40%)]] |
| 26 | |
| 27 | |
| 28 | If you are attending a Tutorial, the resources might have been reserved for you, check with your instructor and skip this step. |
| 29 | You can use any reservation tool you want to reserve this topology. We will need two slices for this tutorial: |
| 30 | * A slice with a single VM that runs your !OpenFlow controller |
| 31 | * An slice the reserves your compute resources including a VM with OVS installed. |
| 32 | |
| 33 | To reserve resources use your favorite resource reservation tool (Omni, Portal, jFed): |
| 34 | 1. In your slice that will run the !OpenFlow controller: Reserve a VM running the controller using the request RSpec [http://www.gpolab.bbn.com/exp/OpenFlowOVS/pox-controller.rspec]. This RSpec is available at the Portal and is called "XEN VM POX Ctrl" |
| 35 | 2. In the slice that will run your hosts do the following to reserve your topology: |
| 36 | i. In Jacks, load this rspec [http://www.gpolab.bbn.com/experiment-support/OpenFlowOVS/openflowovs-all-xen.rspec.xml]. This RSpec is available at the Portal and is called "OpenFlow OVS all XEN" |
| 37 | ii. Add a new site |
| 38 | iii. Drag one of your hosts (NOT THE OVS SWITCH) to the new site |
| 39 | iv. Assign a specific aggregate to each site |
| 40 | v. Hit reserve |
| 41 | |
| 42 | === iMinds Testbed === |
| 43 | The topology for the iMinds testbed is very similar but it uses |
| 44 | * 1 raw PC as an OVS switch |
| 45 | * 3 raw PCs as hosts |
| 46 | |
| 47 | You can use any reservation tool you want to reserve this on iwall2 using this rspec: |
| 48 | http://www.gpolab.bbn.com/exp/OpenFlowOVS/openflowovs-pcs-iwall2.rspec |
| 49 | |
| 50 | ---- |
| 51 | = [wiki:GENIExperimenter/Tutorials/OpenFlowOVS Introduction] = |
| 52 | = [wiki:GENIExperimenter/Tutorials/OpenFlowOVS/Execute Next: Execute] = |