Changes between Version 41 and Version 42 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/13/12 11:29:53 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v41 v42  
    161161
    162162Step 1. Collect listresources from all FOAM Aggregate.  The manifest RSpec details all resources at the aggregate, but does not provide any insight into whether they are available.
    163 Step 2. Review [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] to determine how each MyPLC host maps to the Site's OpenFlow switch. Determine addresses and ports.
    164 Step 3. Define site specific OF Group rules.
    165 Step 4. Using guidelines from the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 RSpec] page merge the information from step 1 and 2 to generate the request RSpecs.
     163Step 2. Review [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] to determine how each MyPLC host maps to the Site's OpenFlow switch. Determine addresses and ports, and define site specific OF Group rules.
     164Step 3. Using guidelines from the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 RSpec] page merge the information from step 1 and 2 to generate the request RSpecs.
    166165
    167166Each of the above steps is covered in detail below:
     
    188187Information in the output manifest files provides the switch and the port information to be used in making the OF flowspace reservation. 
    189188
    190 '' ''' 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. 
    191 
    192 Let 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.
     189'' ''' 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.  In addition OF groups rules will be defined for each of the site to handle traffic for the hosts.  Each site Rspec will include a group definition that looks as follows:
     190
     191{{{
     192    <openflow:match>
     193      <openflow:use-group name="group-name" />
     194      <openflow:packet>
     195        <openflow:dl_type value="0x800,0x806"/>
     196        <openflow:nw_dst value="10.42.11.0/24"/>
     197        <openflow:nw_src value="10.42.11.0/24"/>
     198      </openflow:packet>
     199    </openflow:match>
     200}}}
     201 ''Note:''' The ''group-name'' above will be replace by the actual group name values defined in flowspec. [[BR]]
     202 ''Note: The address "10.42.11.0/24" was assigned as described in the section XXXX above.
     203
     204Now, let map the 3 nodes from the Site's Compute Resource RSpecs to the appropriate OF Switch port and determine how they connect to the GENI CORE network VLAN 3715.
    193205
    194206__BBN OF AGGREGATE__   [[BR]]
     
    303315These are the lines from the Wisconsin OF Advertisement that should be used in the OF request RSpec:
    304316{{{
    305   <openflow:match>
    306317
    307318    <openflow:group name="wisconsin-nodes-1750">
     
    321332    </openflow:group>
    322333
    323   </openflow:match>
    324 
    325334}}}
    326335
     
    348357
    349358
    350 '' '''Step 3''' ''.  Define OF groups rules:
    351 
    352 Each of the site will need to define OF rules for handling site traffic for the hosts.  Each site Rspec will include:
    353 
    354 {{{
    355     <openflow:match>
    356       <openflow:use-group name="group-name" />
    357       <openflow:packet>
    358         <openflow:dl_type value="0x800,0x806"/>
    359         <openflow:nw_dst value="10.42.11.0/24"/>
    360         <openflow:nw_src value="10.42.11.0/24"/>
    361       </openflow:packet>
    362     </openflow:match>
    363 }}}
    364 Note the ''group-name'' above will be replace by the actual group name values defined in the previous step. Here is a summary of groups defined in Step 2:
    365    * BBN Site: bbn-1750-nodes, bbn-1750-3715
    366    * Clemson site: clemson-1750-3715
    367    * Wisconsin group name=wisconsin-nodes-1750, wisconsin-1750-3715
    368 
    369 '' '''Step 4''' ''  Insert request details into OF V3 RSpec template.
     359'' '''Step 3''' ''  Insert request details into OF V3 RSpec template.
    370360
    371361Use the request template for OF V3 Request RSpecs shown below to create the RSpecs for the BBN, Clemson and Wisconsin OF aggregates:
     
    387377
    388378
    389         <!-- RSpec details from Step 2 and Step 3 -->
     379        <!-- RSpec details from Step 2 here -->
    390380
    391381    </openflow:sliver>
     
    399389Note: If you do not have a controller, you may set one up as shown [http://groups.geni.net/geni/wiki/OpenFlow/GeniBackboneTest#SetupyourOpenFlowcontroller here]
    400390
    401 You can now combine the modified template with each of the Site specific openflow details from step 2 and 3.
     391You can now combine the modified template with each of the Site specific openflow details from Step 2.
    402392
    403393This will result in the following final OF RSpecs:
    404394
    405395__BBN OpenFlow RSpec_
     396
     397{{{
     398#xml
     399<?xml version="1.1" encoding="UTF-8"?>
     400<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     401        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     402        xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     403        xs:schemaLocation="http://www.geni.net/resources/rspec/3
     404              http://www.geni.net/resources/rspec/3/request.xsd
     405              http://www.geni.net/resources/rspec/ext/openflow/3
     406              http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     407    type="request">
     408 
     409<openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net">
     410   <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" />
     411
     412   <openflow:group name="bbn-1750-nodes">
     413     <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00"     
     414                       component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am"
     415                       dpid="06:d6:00:24:a8:c4:b9:00">
     416      <openflow:port name="32" num="56"/>
     417      <openflow:port name="47" num="71"/>
     418    </openflow:datapath>
     419  </openflow:group>
     420
     421  <openflow:group name="bbn-1750-3715">
     422      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:12:e2:b8:a5:d0"
     423                        component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am"
     424                        dpid="06:d6:00:12:e2:b8:a5:d0">
     425        <openflow:port num="3"/>
     426        <openflow:port num="20"/>
     427       </openflow:datapath>
     428  </openflow:group>
     429
     430  <openflow:match>
     431
     432      <openflow:use-group name="bbn-1750-nodes" />
     433      <openflow:use-group name="bbn-1750-3715" />
     434
     435      <openflow:packet>
     436        <openflow:dl_type value="0x800,0x806"/>
     437        <openflow:nw_dst value="10.42.11.0/24"/>
     438        <openflow:nw_src value="10.42.11.0/24"/>
     439      </openflow:packet>
     440
     441   </openflow:match>
     442
     443 </openflow:sliver>
     444</rspec>
     445}}}
     446
     447
     448__Clemson OpenFlow RSpec_
     449
    406450
    407451{{{
     
    417461    type="request">
    418462   
    419     <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net">
    420       <openflow:controller url="tcp:example.geni.net:9933" type="primary" />
    421 
    422 
    423         <!-- RSpec details from Step 2 and Step 3 -->
    424 
    425     </openflow:sliver>
     463<openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net">
     464  <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" />
     465
     466  <openflow:group name="clemson-1750-3715">
     467     <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam+datapath+06:d6:00:26:f1:3f:e4:80"
     468                    component_manager_id="urn:publicid:IDN+openflow:foam:foam+authority+am" dpid="06:d6:00:26:f1:3f:e4:80">
     469        <openflow:port name="39" num="39"/>
     470        <openflow:port name="43" num="43"/>
     471      </openflow:datapath>
     472  </openflow:group>
     473
     474  <openflow:match>
     475      <openflow:use-group name="clemson-1750-3715" />
     476      <openflow:packet>
     477        <openflow:dl_type value="0x800,0x806"/>
     478        <openflow:nw_dst value="10.42.11.0/24"/>
     479        <openflow:nw_src value="10.42.11.0/24"/>
     480      </openflow:packet>
     481    </openflow:match>
     482
     483</openflow:sliver>
    426484</rspec>
    427485}}}
    428486
    429 
    430 __Clemson OpenFlow RSpec_
    431 
    432 
    433487__Wisconsin OpenFlow RSpec_
    434488
     489
     490
     491{{{
     492#xml
     493<?xml version="1.1" encoding="UTF-8"?>
     494<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     495        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     496        xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     497        xs:schemaLocation="http://www.geni.net/resources/rspec/3
     498              http://www.geni.net/resources/rspec/3/request.xsd
     499              http://www.geni.net/resources/rspec/ext/openflow/3
     500              http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     501    type="request">
     502   
     503<openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net">
     504  <openflow:controller url="tcp:navis.gpolab.bbn.com:33017" type="primary" />
     505
     506   <openflow:group name="wisconsin-nodes-1750">
     507      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+0
     5086:d6:00:23:47:cc:44:00"
     509                         component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+au
     510thority+am">
     511        <openflow:port num="1"/>
     512        <openflow:port num="22"/>
     513      </openflow:datapath>
     514   </openflow:group>
     515
     516   <openflow:group name="wisconsin-1750-3715">
     517      <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+datapath+0
     5186:d6:00:21:f7:be:8d:00"
     519                         component_manager_id="urn:publicid:IDN+openflow:foam:foam.wail.wisc.edu+au
     520thority+am">
     521        <openflow:port num="3"/>
     522        <openflow:port num="51"/>
     523      </openflow:datapath>
     524   </openflow:group>
     525
     526   <openflow:match>
     527      <openflow:use-group name="wisconsin-nodes-1750" />
     528      <openflow:use-group name="wisconsin-1750-3715" />
     529      <openflow:packet>
     530        <openflow:dl_type value="0x800,0x806"/>
     531        <openflow:nw_dst value="10.42.11.0/24"/>
     532        <openflow:nw_src value="10.42.11.0/24"/>
     533      </openflow:packet>
     534    </openflow:match>
     535
     536
     537</openflow:sliver>
     538</rspec>
     539
     540}}}
    435541
    436542