Changes between Version 13 and Version 14 of HowTo/WriteOFv3Rspecs/Examples


Ignore:
Timestamp:
09/30/11 16:19:11 (13 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteOFv3Rspecs/Examples

    v13 v14  
    264264= OFv2 to OFv3 conversion examples =
    265265
    266 == Request port TCP port on a subnet ==
     266== Request TCP port on a subnet ==
     267
     268The following example requests for all traffic that is sourced and destined to IP subnet
     26910.42.111.0/24 and it has as src or destination transport protocol port 10001.
    267270
    268271=== OF v1 ===
     
    270273#!xml
    271274<!-- This rspec will reserve the OpenFlow resources at example.net that are used
    272      for the Aster*x experiment with OFv1
     275     for an experiment with OFv1
    273276-->
    274277<resv_rspec type="openflow">
    275   <user affiliation="BBN" email="aster*x@example.net" firstname="Aster*x" lastname="Stanford" password="ast"/>
    276   <project description="Asterix" name="Stanford's Asterix demo"/>
    277   <slice controller_url="tcp:ctrl.example.net:8833" description="The Asterix controller."
    278          name="stanford-asterix"/>
     278  <user affiliation="BBN" email="user@example.net" firstname="Geni" lastname="User" password="ast"/>
     279  <project description="TP 10001" name="TP10001demo"/>
     280  <slice controller_url="tcp:ctrl.example.net:8833" description="The experiment's controller."
     281         name="tp10001"/>
    279282  <flowspace>
    280283     <port urn="urn:publicid:IDN+texpedient.example.net:expedient:openflow+switch:06:d6:00:24:a8:c4:b9:00+port:55"/>
     
    340343    type="request">
    341344<!-- This rspec will reserve the OpenFlow resources at example.net that are used
    342      for the Aster*x experiment with OFv1
     345     for an experiment with OFv1
    343346-->
    344   <openflow:sliver email="asterx@example.net" description="Asterix" name="Stanford's Asterix demo"/>
     347  <openflow:sliver email="user@example.net" description="TP 10001" />
    345348  <openflow:controller url="tcp:ctrl.example.net:8833" type="primary"/>
    346349
    347   <openflow:group name="aster*x">
     350  <openflow:group name="tp10001">
    348351    <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.example.net+datapath:06:d6:00:24:a8:c4:b9:00"
    349352         component_manager_id="urn:publicid:IDN+openflow:foam:foam.example.net+authority+am">
     
    360363
    361364  <openflow:match>
    362     <openflow:use-group name="aster*x" />
     365    <openflow:use-group name="tp10001" />
    363366    <openflow:packet>
    364367      <openflow:dl_type value="0x800, 0x806"/>
     
    369372
    370373  <openflow:match>
    371     <openflow:use-group name="aster*x" />
     374    <openflow:use-group name="tp10001" />
    372375    <openflow:packet>
    373376      <openflow:dl_type value="0x800, 0x806"/>