Changes between Version 2 and Version 3 of HowTo/OpenFlow1.3


Ignore:
Timestamp:
07/13/17 20:57:22 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/OpenFlow1.3

    v2 v3  
    11= OpenFlow 1.3 on InstaGENI Hardware Switch =
    22
    3 Several InstaGENI racks have hardware switches that support OpenFlow 1.3.  See the [wiki:GeniAggregate GENI Aggregates] to determine which version of OpenFlow a site supports in the `OF Supported` column.
     3Several 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.
    44
    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
     71. 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
     92. 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:
    610{{{
    7 cd /tmp/ryu/app
    8 wget https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/simple_switch_13_ig.py
    9 cd /tmp/ryu
    10 ./bin/ryu-manager ryu/app/simple_switch_13_ig.py
     11 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
    1115}}}
    1216
     17You are now running an !OpenFlow 1.3 simple switch module!
    1318
    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.
     193. 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
     234. 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.
    1524
    1625Following is an example for OpenFlow over a stitched link between GPO IG and VT IG:
     
    2736}}}
    2837
    29 where: XX.XX.XX.XX is your controller IP address.
     38''where: XX.XX.XX.XX is your controller IP address.''
    3039
     40If 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.
    3143
     445. Reserve the resources and you are now ready to run your !OpenFlow experiment.