Changes between Version 3 and Version 4 of GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/HW/DesignSetup
- Timestamp:
- 03/01/17 13:24:29 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/HW/DesignSetup
v3 v4 1 1 = OpenFlow using a Hardware Switch = 2 2 3 This page provides a guide on how to do the [wiki:GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight OpenFlowOVS tutorial] using the Hardware OpenFlow switches present at the IGracks. This can serve as a general guide on how to use the OpenFlow Hardware switches.3 This page provides a guide on how to do the [wiki:GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight OpenFlowOVS with Floodlight tutorial] using the Hardware OpenFlow switches available in the InstaGENI (IG) racks. This can serve as a general guide on how to use the OpenFlow Hardware switches. 4 4 5 5 [[PageOutline]] … … 7 7 == Step 1. Obtain resources == 8 8 9 * The topology used in this experiment is the same as the one used in the [wiki:GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/DesignSetup OpenFlow using OVS] part of this tutorial: Three virtual machines (VMs) connected by an !OpenFlow switch. However this tutorial uses the hardware !OpenFlow switch on the rack instead of a software OVS switch. 10 * If you have not reserved a controller yet, make sure to create a slice that will run the !OpenFlow controller by reserving a VM running the controller using the request RSpec [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OVSFloodLight/ControllerCustom_request_rspec.xml] . 9 * The topology used in this experiment is the same as the one used in the [wiki:GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/DesignSetup OpenFlow using OVS with Floodlight] part of this tutorial: Three Virtual Machines (VMs) connected by an !OpenFlow switch. However this tutorial uses the hardware !OpenFlow switch on the rack instead of a software OVS switch. 10 11 * If you have not reserved a controller yet, make sure to create a slice that will run the !OpenFlow controller by reserving a VM running the controller using the request RSpec: 12 {{{ [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OVSFloodLight/ControllerCustom_request_rspec.xml]}}} 13 11 14 12 15 [[Image(GENIExperimenter/Graphics:SimpleHardwareOpenFlow.jpg,40%)]] … … 14 17 15 18 '''About GENI !OpenFlow switches''' [[BR]] 16 GENI offers access to hardware !OpenFlow switches. Each !OpenFlow switch, in most cases, can support only one controller. On the IGracks the switch is sliced based on VLANs, so each VLAN is its own virtual datapath.19 GENI offers access to hardware !OpenFlow switches, which in most cases can support only one controller. On the InstaGENI racks the switch is sliced based on VLANs, so each VLAN is its own virtual datapath. 17 20 18 To force the links between the VMs to go through the rack !OpenFlow switch, the three VMs must be on separate physical hosts on the rack. Our experiment will: 19 * Bind the Xen VMs to different physical hosts. 21 To force the links between the VMs to go through the rack !OpenFlow switch, the three VMs must be on separate physical hosts on the rack. Our experiment will '''bind''' each of the Xen VMs to different physical hosts. 20 22 21 === 1.1 Find your RS Pecs ===23 === 1.1 Find your RSpecs === 22 24 23 The RSpecs for this tutorial are site specific. If you are attending a tutorial, use the site and IP network that was given to you on your worksheet. If you are doing this at home, choose a site from : `clemson, cornell, gatech, gpo, illinois, kansas, uky, kettering, max, missouri, northwestern, nysernet, nyu, sox, stanford,wisconsin`.25 The RSpecs for this tutorial are site specific. If you are attending a tutorial, use the site and IP network that was given to you on your worksheet. If you are doing this at home, choose a site from : `clemson, cornell, kansas, uky, max, stanford or wisconsin`. 24 26 25 27 ''In the URLs below, replace <AGGREGATE-NAME> with the name of the site you are using (clemson, cornell, kansas, uky, max, stanford or wisconsin). '' 26 28 27 29 The RSpec you need is at: 28 * {{{https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OpenFlowHW/pvtVlan/ig-<AGGREGATE-NAME>.rspec}}}. (Reserves compute resources and specifies location of your controller). For example, if you are working with max-ig, then you can get the sample RSPec as follows:29 30 30 {{{$ wget https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OpenFlowHW/pvtVlan/ig-max.rspec}}} 31 {{{https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OpenFlowHW/pvtVlan/ig-<AGGREGATE-NAME>.rspec}}}. 32 33 These RSpecs can be used to reserves compute resources and to specify the location of your controller. For example, if you are working with max-ig, then you can get the sample RSPec as follows: 34 35 {{{$ wget https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OpenFlowHW/pvtVlan/ig-max.rspec}}} 31 36 32 37 33 38 === 1.2 Edit your RSpecs === 34 39 35 Open your RSpec in a text editor to make the following changes: 40 Open your RSpec in a text editor to insert the IP address of your controller. Done by replacing the string <CONTROLLER_IP> at the bottom of the RSpec with the IP address of your controller. The controller line looks as follows: 41 42 {{{<emulab:openflow_controller url="tcp:CONTROLLER_IP:6633"/>}}} 36 43 37 * Replace the string <CONTROLLER_IP> (at the bottom of the RSpec) with the IP address of your controller.38 44 39 45