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


Ignore:
Timestamp:
04/09/12 10:02:13 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v35 v36  
    159159
    160160Step 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.
    161 Step 2. Review [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] to determine how each MyPLC host maps to the Site's OpenFlow switch.
    162 Determin addresses and ports.
    163 Step 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.
     161Step 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.
     162Step 3. Define site specific OF Group rules.
     163Step 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.
    164164
    165165Each of the above steps is covered in detail below:
     
    207207{{{
    208208 
    209   <openflow:group name="habanero-1750-nodes">
     209  <openflow:group name="bbn-1750-nodes">
    210210
    211211    <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00"     
     
    222222
    223223{{{
    224  <openflow:group name="poblano-1750-3715">
     224 <openflow:group name="bbn-1750-3715">
    225225     <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:12:e2:b8:a5:d0"
    226226                        component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am"
     
    290290
    291291
    292 '' '''Step 3''' ''.  Define OF groups and merge with Switch details from step 2:
    293 
    294 Use the request template in the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs#WritingOpenFlowv3requestrspecs Writing OF V3 Request RSpecs]
     292'' '''Step 3''' ''.  Define OF groups rules:
     293
     294Each of the site will need to define OF rules for handling site traffic for the hosts.  Each site Rspec will include:
     295
     296{{{
     297    <openflow:match>
     298      <openflow:use-group name="group-name" />
     299      <openflow:packet>
     300        <openflow:dl_type value="0x800,0x806"/>
     301        <openflow:nw_dst value="10.42.11.0/24"/>
     302        <openflow:nw_src value="10.42.11.0/24"/>
     303      </openflow:packet>
     304    </openflow:match>
     305}}}
     306Note 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:
     307   * BBN Site: bbn-1750-nodes, bbn-1750-3715
     308   * Clemson site: clemson-1750-3715
     309   * Wisconsin group name=wisconsin-nodes-1750, wisconsin-1750-3715
    295310
    296311'' '''Step 4''' ''  Insert request details into OF V3 RSpec template.
    297312
    298 {{{
     313Use the request template for OF V3 Request RSpecs shown below to create the RSpecs for the BBN, Clemson and Wisconsin OF aggregates:
     314
     315{{{
     316#xml
    299317<?xml version="1.1" encoding="UTF-8"?>
    300318<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     
    307325    type="request">
    308326   
    309     <openflow:sliver email="user@geni.net" description="My GENI experiment" ref="http://www.geni.net">
     327    <openflow:sliver email="user@geni.net" description="OF Experiment" ref="http://www.geni.net">
     328      <openflow:controller url="tcp:example.geni.net:9933" type="primary" />
     329
    310330
    311331        <!-- RSpec details from Step 2 and Step 3 -->
     
    314334</rspec>
    315335}}}
     336
     337For the above template:
     338 * Modify the "openflow:sliver" line to replace the "user@geni.net" with your valid email address, and update the sliver description.
     339 * Update the "openflow:controller" line to include your controller information.
     340
     341You may now combine the modified template with each of the Site specific openflow details from step 2 and 3.
     342
     343This will result in the following final OF RSpecs:
     344
     345__BBN OpenFlow RSpec_
     346
     347{{{
     348#xml
     349<?xml version="1.1" encoding="UTF-8"?>
     350<rspec  xmlns="http://www.geni.net/resources/rspec/3"
     351        xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
     352        xmlns:openflow="http://www.geni.net/resources/rspec/ext/openflow/3"
     353        xs:schemaLocation="http://www.geni.net/resources/rspec/3
     354              http://www.geni.net/resources/rspec/3/request.xsd
     355              http://www.geni.net/resources/rspec/ext/openflow/3
     356              http://www.geni.net/resources/rspec/ext/openflow/3/of-resv.xsd"
     357    type="request">
     358   
     359    <openflow:sliver email="lnevers@geni.net" description="OF Experiment" ref="http://www.geni.net">
     360      <openflow:controller url="tcp:example.geni.net:9933" type="primary" />
     361
     362
     363        <!-- RSpec details from Step 2 and Step 3 -->
     364
     365    </openflow:sliver>
     366</rspec>
     367
     368__Clemson OpenFlow RSpec_
     369
     370
     371__Wisconsin OpenFlow RSpec_
     372
     373
     374
     375
    316376
    317377