Changes between Version 34 and Version 35 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/09/12 09:40:07 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/ExperimentExample-OF-FOAM

    v34 v35  
    185185Information in the output manifest files provides the switch and the port information to be used in making the OF flowspace reservation. 
    186186
    187 '' ''' Step 2''' ''. Review [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] to determine MyPLC hosts mapping to the Site's OpenFlow switch. In the [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] page, select the OF Aggregate link for BBN, Clemson and Wisconsin and use the OF site diagrams to determine which ports and DPID should be used in the OF RSpec. 
    188 
    189 Let map the 3 nodes from the Site's compute resources RSpec.
     187'' ''' Step 2''' ''. Define site specific OF details based on [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] and   MyPLC hosts mapping to the Site's OpenFlow switch.  This step walk through how the site details are defined. In the [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] page, select the OF Aggregate link for BBN, Clemson and Wisconsin and use the OF site diagrams to determine which ports and DPID should be used in the OF RSpec. 
     188
     189Let map the 3 nodes from the Site's compute resources RSpec to the appropriate OF Switch port and determine how they connect to the GENI CORE network VLAN 3715.
    190190
    191191__BBN OF AGGREGATE__   [[BR]]
    192192
    193 To define the OF RSpec for the BBN site we need to consider the compute resource used for the site which is the node navis.gpolab.bbn.com and determine how they are connected on the OF switch at the site.
    194 To determine the ports and Data Path IDentifier (DPID) see the [http://groups.geni.net/geni/wiki/GeniAggregate/GpoLabOpenFlow BBN OF Aggregate] diagram and locate where the node is connected. The following diagram show the information from the BBN OF Aggregate diagram that is needed for the BBN !OpenFlow request RSpec:
     193To define the OF RSpec for the BBN site we need to consider the compute resource used for the site which is the node navis.gpolab.bbn.com and determine how it is connected on the OF switch at the site, and then determine how that connection connects to the network core OF VLAN 3715. To determine the ports and Data Path IDentifier (DPID) review the [http://groups.geni.net/geni/wiki/GeniAggregate/GpoLabOpenFlow BBN OF Aggregate] diagram and locate where the node is connected. The following diagram show the information from the BBN OF Aggregate diagram that is needed for the BBN !OpenFlow request RSpec:
    195194
    196195[[Image(BBNOFAggregateResources.jpg)]]
     
    205204The VLAN 1750 is used at every meso-scale site for MyPLC resources to access the back bone OpenFLow VLANs. Also, for the BBN ''habanero'' OF switch *only*, you must add 24 to the physical port number to determine the port to use in the rspec. The host navis.bbn.com is on port 32 (+24=56),  which means your rspec will use  port ''56''  and port 47 (+24=71) maps to ''71'' to get to poblano.  The syntax for each of these can be "borrowed" from the listresources associated to each DPID. 
    206205
    207 Now we have all the information needed to define the OF resource details. These are the RSpec lines that define the ports on habanero:
    208 {{{
    209  <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00" component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am" dpid="06:d6:00:24:a8:c4:b9:00">
    210     <openflow:port name="32" num="56"/>
    211     <openflow:port name="47" num="71"/>
     206Now we have all the information needed to define the BBN OF resource request RSpec. These are lines that define the ports on habanero:
     207{{{
     208 
     209  <openflow:group name="habanero-1750-nodes">
     210
     211    <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00"     
     212                       component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am"
     213                       dpid="06:d6:00:24:a8:c4:b9:00">
     214     <openflow:port name="32" num="56"/>
     215     <openflow:port name="47" num="71"/>
     216   </openflow:datapath>
     217 </openflow:group>
     218
    212219}}}
    213220
     
    215222
    216223{{{
    217  <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:12:e2:b8:a5:d0" component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am" dpid="06:d6:00:12:e2:b8:a5:d0">
     224 <openflow:group name="poblano-1750-3715">
     225     <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:12:e2:b8:a5:d0"
     226                        component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am"
     227                        dpid="06:d6:00:12:e2:b8:a5:d0">
    218228       <openflow:port num="3"/>
    219229        <openflow:port num="20"/>
    220 
    221 }}}
    222 To complete the RSpec see ''Step 3''
     230      </openflow:datapath>
     231    </openflow:group>
     232
     233
     234}}}
     235To complete the BBN OF RSpec see ''Step 3''
    223236
    224237__Clemson Aggregate__ [[BR]]
    225238
    226 To define the OF RSpec for the Clemson site we need to  review the information in the [http://groups.geni.net/geni/wiki/GeniAggregate/ClemsonOpenFlow Clemson OF Aggregate] diagram.  The compute resource used for the site which is the node for planetlab4.clemson.edu.
     239To define the OF RSpec for the Clemson site review the information in the [http://groups.geni.net/geni/wiki/GeniAggregate/ClemsonOpenFlow Clemson OF Aggregate] diagram.  The compute resource used for the site which is the node for planetlab4.clemson.edu.
    227240The following diagram show the information required from the Clemson OF Aggregate that is needed for the Clemson !OpenFlow request RSpec:
    228241
     
    231244These are the lines from the Advertisement that should be used in the request RSpec:
    232245{{{
    233  <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam+datapath+06:d6:00:26:f1:3f:e4:80" component_manager_i
    234 d="urn:publicid:IDN+openflow:foam:foam+authority+am" dpid="06:d6:00:26:f1:3f:e4:80">
    235     <openflow:port name="39" num="39"/>
    236     <openflow:port name="43" num="43"/>
    237 }}}
    238 
    239 To complete the RSpec see ''Step 3''
    240 
    241 To define the OF RSpec for the Wisonsin site we need to review the [http://groups.geni.net/geni/wiki/GeniAggregate/WisconsinOpenFlow Winsconsin OF Aggregate] diagram.  The compute resource used at the Wisconsin site is the node wings-openflow-2.wail.wisc.edu.  The Wisconsin OF aggregate diagram only shows the MAC address for the OF switch to determine the DPID simply combine the hexadecimal value for 1750 (06d6) and the MAC address (00:23:47:CC:44:00) to create the DPID (06:d6:00:23:47:CC:44:00).
     246
     247  <openflow:group name="clemson-1750-3715">
     248
     249     <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam+datapath+06:d6:00:26:f1:3f:e4:80"
     250                    component_manager_id="urn:publicid:IDN+openflow:foam:foam+authority+am" dpid="06:d6:00:26:f1:3f:e4:80">
     251        <openflow:port name="39" num="39"/>
     252        <openflow:port name="43" num="43"/>
     253      </openflow:datapath>
     254  </openflow:group>
     255
     256}}}
     257
     258To complete the Clemson OF RSpec see ''Step 3''
     259
     260__Wisconsin OF AGGREGATE__   [[BR]]
     261
     262To define the OF RSpec for the Wisconsin site review the [http://groups.geni.net/geni/wiki/GeniAggregate/WisconsinOpenFlow Winsconsin OF Aggregate] diagram.  The compute resource used at the Wisconsin site is the node wings-openflow-2.wail.wisc.edu.  The Wisconsin OF aggregate diagram only shows the MAC address for the OF switch to determine the DPID simply combine the hexadecimal value for 1750 (06d6) and the MAC address (00:23:47:CC:44:00) to create the DPID (06:d6:00:23:47:CC:44:00).
    242263
    243264[[Image(WisconsinOFAggregateResources.jpg)]]
    244265
    245266
    246 These are the lines from the Advertisement that should be used in the request RSpec:
    247 {{{
    248 
    249 
    250 }}}
    251 
    252 To complete the RSpec see ''Step 3''
    253 
    254 
    255 
    256 
    257 '' '''Step 3''' ''. Merge Step 1 and 2 to generate request RSpecs.
     267These are the lines from the Wisconsin OF Advertisement that should be used in the OF request RSpec:
     268{{{
     269    <openflow:group name="wisconsin-nodes-1750">
     270      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+06:d6:00:23:47:cc:44:00"
     271                         component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+authority+am">
     272        <openflow:port num="1"/>
     273        <openflow:port num="22"/>
     274      </openflow:datapath>
     275    </openflow:group>
     276
     277    <openflow:group name="wisconsin-1750-3715">
     278      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+06:d6:00:21:f7:be:8d:00"
     279                         component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+authority+am">
     280        <openflow:port num="3"/>
     281        <openflow:port num="51"/>
     282      </openflow:datapath>
     283    </openflow:group>
     284
     285
     286}}}
     287
     288To complete the Wisconsin OF RSpec see ''Step 3''
     289
     290
     291
     292'' '''Step 3''' ''.  Define OF groups and merge with Switch details from step 2:
     293
    258294Use the request template in the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 Request RSpecs]
     295
     296'' '''Step 4''' ''  Insert request details into OF V3 RSpec template.
     297
     298{{{
     299<?xml version="1.1" encoding="UTF-8"?>
     300<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     301        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     302        xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     303        xs:schemaLocation="http://www.geni.net/resources/rspec/3
     304              http://www.geni.net/resources/rspec/3/request.xsd
     305              http://www.geni.net/resources/rspec/ext/openflow/3
     306              http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     307    type="request">
     308   
     309    <openflow:sliver email="user@geni.net" description="My GENI experiment" ref="http://www.geni.net">
     310
     311        <!-- RSpec details from Step 2 and Step 3 -->
     312
     313    </openflow:sliver>
     314</rspec>
     315}}}
    259316
    260317