Changes between Version 134 and Version 135 of GENIExperimenter/ExperimentExample-OF-FOAM


Ignore:
Timestamp:
04/26/12 17:15:14 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v134 v135  
    259259=== Step 2: Determine site specific !OpenFlow details ===
    260260
    261 This sections shows you how to determine the site specific !OpenFlow RSpec details by walking through the information gathering process. To determine which !OpenFlow resources to use, go to the [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] page and select the !OpenFlow Aggregate links for BBN, Clemson and Wisconsin. Each of these !OpenFlow Aggregate pages contain a site diagram. The !OpenFlow site diagrams show ports, DPIDs, and hosts mapping for the site's !OpenFlow switch.  In addition to the information from the !OpenFlow site diagram, !OpenFlow filter groups rules must defined for each site to handle traffic for the hosts.  Each site RSpec will include a group filter definition "openflow:match" for the reserved network that may look as follows:
    262 
    263 {{{
    264     <openflow:match>
    265       <openflow:use-group name="group-name" />
    266       <openflow:packet>
    267         <openflow:dl_type value="0x800,0x806"/>
    268         <openflow:nw_dst value="10.42.11.0/24"/>
    269         <openflow:nw_src value="10.42.11.0/24"/>
    270       </openflow:packet>
    271     </openflow:match>
    272 }}}
    273  ''Note:'' The ''openflow:use-group'' section of the !OpenFlow RSpec defines the traffic characteristics allowed for the experiment. [[BR]]
    274  ''Note:'' The ''group-name'' is replaced by the site specific group name value. [[BR]]
    275  ''Note:''  The address ''10.42.11.0/24'' was requested as described in the section [wiki:GENIExperimenter/ExperimentExample-OF-FOAM#ReserveGENIIPsubnet above]. Your RSpec will use the subnet you reserved.
    276 
    277 For a detailed look at !OpenFlow configuration parameters, see the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs/Spec OF V3 RSpec] page. On this page you will also find the list of available [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs/Spec#Filterelements packet header fields] that can be used to filter the !OpenFlow traffic.
    278 
     261This sections shows you how to determine the site specific !OpenFlow RSpec details by walking through the information gathering process. To determine which !OpenFlow resources to use, go to the [http://groups.geni.net/geni/wiki/GeniAggregate GeniAggregate] page and select the !OpenFlow Aggregate links for BBN, Clemson and Wisconsin. Each of these !OpenFlow Aggregate pages contain a site diagram. The !OpenFlow site diagrams show ports, DPIDs, and hosts mapping for the site's !OpenFlow switch, which you will have to include in the RSpec.  In addition you also have to define how the host traffic will be handled by !OpenFlow  by defining packet filters.
     262 
    279263Now, let's map the 3 nodes we chose in the compute resource RSpecs to the appropriate !OpenFlow switch ports and determine how they connect to the GENI CORE network VLAN 3715.
    280264
     
    303287
    304288  <openflow:group name="bbn-1750-nodes">
    305 
    306289    <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+datapath+06:d6:00:24:a8:c4:b9:00"     
    307290                       component_manager_id="urn:publicid:IDN+openflow:foam:foam.gpolab.bbn.com+authority+am"
     
    328311}}}
    329312
    330 In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment, this is done with the following filter definitions:
     313Each !OpenFlow RSpec must also include a packet filter definition to describe how the host traffic is to be handled for the experiment.  Following is an example packet filter template:
     314{{{
     315    <openflow:match>
     316      <openflow:use-group name="group-name" />
     317      <openflow:packet>
     318        <openflow:dl_type value="0x800,0x806"/>
     319        <openflow:nw_dst value="10.42.XX.0/24"/>
     320        <openflow:nw_src value="10.42.XX.0/24"/>
     321      </openflow:packet>
     322    </openflow:match>
     323}}}
     324 ''Note:'' The ''openflow:use-group'' section of the !OpenFlow RSpec defines the traffic characteristics allowed for the experiment. [[BR]]
     325 ''Note:'' The ''group-name'' should match the ''openflow:group'' specific to the !OpenFlow switch [[BR]]
     326 ''Note:''  The address ''10.42.XX.0/24'' was requested as described in the section [wiki:GENIExperimenter/ExperimentExample-OF-FOAM#ReserveGENIIPsubnet above]. Your RSpec will use the subnet you reserved.
     327
     328For a detailed look at !OpenFlow configuration parameters, see the [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs/Spec OF V3 RSpec] page. On this page you will also find the list of available [http://groups.geni.net/geni/wiki/HowTo/WriteOFv3Rspecs/Spec#Filterelements packet header fields] that can be used to filter the !OpenFlow traffic.
     329
     330Let's modify the packet filter definition above so it applies to the BBN !OpenFlow resources:
    331331{{{
    332332   <openflow:match>
     
    369369}}}
    370370
    371 In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment, this is done with the following filter definitions:
     371In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment. Following is the packet filter definitions for Clemson:
    372372{{{
    373373   <openflow:match>
     
    421421
    422422
    423 In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment, this is done with the following filter definitions:
     423In addition each of the groups must be allowed to share traffic for the IP subnet range reserved for the experiment. Following is the packet filter definition for Wisconsin !OpenFlow resources:
    424424{{{
    425425    <openflow:match>