Changes between Version 2 and Version 3 of HowTo/OpenFlow1.3
- Timestamp:
- 07/13/17 20:57:22 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/OpenFlow1.3
v2 v3 1 1 = OpenFlow 1.3 on InstaGENI Hardware Switch = 2 2 3 Several InstaGENI racks have hardware switches that support OpenFlow 1.3. See the [wiki:GeniAggregate GENI Aggregates] to determine which version of OpenFlow asite supports in the `OF Supported` column.3 Several InstaGENI racks have hardware switches that support !OpenFlow 1.3. See the [wiki:GeniAggregate GENI Aggregates] to determine which version of OpenFlow each GENI site supports in the `OF Supported` column. 4 4 5 1. Use the request RSPec https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OpenFlowCtrls/Controllers_all.xml to request a controller. Once the controller node is up, login to the controller and download a RYU module developed specifically for the InstaGENI OF 1.3 hardware switches. This module handles the required use of Rule Table ID 100 for HP switches: 5 == Run an OpenFlow 1.3 Controller == 6 7 1. To request an !OpenFlow 1.3 controller host with supported OF controllers installed and ready to run you can use the request RSPec https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/OpenFlowCtrls/Controllers_all.xml or this request RSpec is also abailabel in the GENI Portal RSpec as "XEN OpenFlow Controllers". 8 9 2. Once the controller node is up, login to the controller and download a Ryu module developed specifically for the InstaGENI OF 1.3 hardware switches. This Ryu module handles the required use of Rule Table ID 100 for HP switches: 6 10 {{{ 7 cd /tmp/ryu/app 8 wget https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/simple_switch_13_ig.py9 cd /tmp/ryu10 ./bin/ryu-manager ryu/app/simple_switch_13_ig.py11 wget https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/simple_switch_13_ig.py 12 cp simple_switch_13_ig.py /tmp/ryu/app/simple_switch_13_ig.py 13 cd /tmp/ryu 14 ./bin/ryu-manager ryu/app/simple_switch_13_ig.py 11 15 }}} 12 16 17 You are now running an !OpenFlow 1.3 simple switch module! 13 18 14 2. After you have selected the OF 1.3 aggregate sites, define a topology that has nodes at different GENI sites using stitched links. You can pick any site, the key is the link, which must be associated with the controller. 19 3. While logged in determine the IP address of the controller hosts to use in the next section. The default port for openflow is 6633 for Ryu. 20 21 == Ran the OpenFlow Experiment == 22 23 4. Selected OF 1.3 aggregate sites from the [wiki:GeniAggregate GENI Aggregates] page, define a topology that has nodes at different GENI sites using stitched links. The key is the link, which must be associated with the controller. 15 24 16 25 Following is an example for OpenFlow over a stitched link between GPO IG and VT IG: … … 27 36 }}} 28 37 29 where: XX.XX.XX.XX is your controller IP address. 38 ''where: XX.XX.XX.XX is your controller IP address.'' 30 39 40 If you are using the Portal select the stitched link between the 2 sites and in the left-hand panel: 41 a. choose "Stitched" in the "Link Type" pull-down. 42 b. Click on the "Openflow" option, which will enable a blank field where you can enter "tcp:XX.XX.XX.XX:6633", where: XX.XX.XX.XX is your controller IP address. 31 43 44 5. Reserve the resources and you are now ready to run your !OpenFlow experiment.