Changes between Version 43 and Version 44 of HelloGENI
- Timestamp:
- 04/10/12 17:02:29 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HelloGENI
v43 v44 140 140 141 141 === OpenFlow Slivers === 142 After we have reserved and configured all the compute resources we are ready to reserve the OpenFlow resources. This example spans three different OpenFlow aggregates, GPO, Clemson and NLR. The first thing we need to figure out, is where to run the OpenFlow controller. The OpenFlow controller is the software that decides how packets that belong to our sliver should be handled. The host running the !OpenFlow controller listening on a TCP port, should be reachable by the OpenFlow resources at the sites (i.e. any firewalls in front of your controller must permit your TCP port).For the purpose of this example the controller will run at nineveh.gpolab.bbn.com on tcp port 1718.142 After we have reserved and configured all the compute resources we are ready to reserve the OpenFlow resources. This example spans three different OpenFlow aggregates, GPO, Clemson and NLR. The first thing we need to figure out, is where to run the OpenFlow controller. The OpenFlow controller is the software that decides how packets that belong to our sliver should be handled. The host running the !OpenFlow controller listening on a TCP port, should be reachable by the OpenFlow resources at the sites (i.e. any firewalls in front of your controller must permit your TCP port).For the purpose of this example the controller will run at example.geni.net on tcp port 9933. 143 143 144 144 '''Note''' that for some switches, the OpenFlow number port is not the same as the physical port name. The best way to figure out what port number you need is through listresources. … … 153 153 Based on the topology diagram above, at the GPO aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two GPO switches for ports 1, 47 of the first switch and ports 20 and 3 on the second. [source:trunk/wikifiles/hello-geni/rspecs:openflow-bbn-hellogeni.rspec This] is an rspec that requests these resources. From GPO's aggregate page we can also get the AM URL. 154 154 {{{ 155 omni.py createsliver -a https://foam.gpolab.bbn.com:3626/foam/gapi/1-n hellogenislice openflow-bbn-hellogeni.rspec155 omni.py createsliver -a of-gpo -n hellogenislice openflow-bbn-hellogeni.rspec 156 156 }}} 157 157 … … 161 161 Based on the topology diagram above, at the Clemson aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two clemson switch for ports 43 and 36. [source:trunk/wikifiles/hello-geni/openflow-clemson-hellogeni.rspec This] is an rspec that requests these resources. From Clemson's aggregate page we can also get the AM URL. 162 162 {{{ 163 omni.py createsliver -a https://foam.clemson.edu:3626/foam/gapi/1hellogenislice openflow-clemson-hellogeni.rspec163 omni.py createsliver -a of-clemson hellogenislice openflow-clemson-hellogeni.rspec 164 164 }}} 165 165 … … 169 169 Based on the topology diagram above, at the Clemson aggregate we would like to reserve resources related to IP subnet 10.42.130.0/24 on the two NLR switch for ports 25 and 26 on both. [source:trunk/wikifiles/hello-geni/rspecsopenflow-nlr-hellogeni.rspec This] is an rspec that requests these resources. From NLR's aggregate page we can also get the AM URL. 170 170 {{{ 171 omni.py createsliver -n -a https://foam.nlr.net:3626/foam/gapi/1hellogenislice openflow-nlr-hellogeni.rspec171 omni.py createsliver -n -a of-nlr hellogenislice openflow-nlr-hellogeni.rspec 172 172 }}} 173 173 … … 231 231 For each aggregate delete the OpenFlow sliver : 232 232 {{{ 233 omni.py deletesliver -a https://ofc-testlab.grnoc.iu.edu:1443/openflow/gapi/hellogenislice234 omni.py deletesliver -a https://foam.gpolab.bbn.com:3626/foam/gapi/1hellogenislice235 omni.py deletesliver -a https://foam.clemson.edu:3626/foam/gapi/1hellogenislice233 omni.py deletesliver -a of-gpo hellogenislice 234 omni.py deletesliver -a of-clemson hellogenislice 235 omni.py deletesliver -a of-nlr hellogenislice 236 236 }}} 237 237 238 238 The output should look like [attachment:delete-openflow-nlr-hellogeni.out this]. 239 239 240 If your slice has already expired then only the Aggregate administrator can delete your OpenFlow sliver. In this case you would need to send an email :241 242 {{{243 To: <email@aggregate.geni>244 From: Geni User <geniuser@example.com>245 Subject: Delete OpenFlow slice <slice_name>246 247 Please delete the OpenFlow slice with the following information :248 * name : <slice_name>249 * project : <project_name>250 * email : <user_email>251 252 Thanks,253 254 }}}255 256 240 == Release GPO's ProtoGENI and Clemson's myPLC == 257 241 258 242 Invoke the delete sliver command 259 243 {{{ 260 omni.py deletesliver -a http://www.pgeni.gpolab.bbn.com/protogeni/xmlrpc/amhellogenislice261 omni.py deletesliver -a https://myplc.clemson.edu:12346hellogenislice244 omni.py deletesliver -a pg-gpo hellogenislice 245 omni.py deletesliver -a plc-clemson hellogenislice 262 246 }}} 263 247