Changes between Version 15 and Version 16 of HowTo/WriteOFv3Rspecs/Examples


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

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteOFv3Rspecs/Examples

    v15 v16  
    331331
    332332=== OF v3 ===
     333
    333334{{{
    334335#!xml
     
    346347-->
    347348  <openflow:sliver email="user@example.net" description="TP 10001" />
    348   <openflow:controller url="tcp:ctrl.example.net:8833" type="primary"/>
    349 
    350   <openflow:group name="tp10001">
    351     <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.example.net+datapath:06:d6:00:24:a8:c4:b9:00"
    352          component_manager_id="urn:publicid:IDN+openflow:foam:foam.example.net+authority+am">
    353             <openflow:port num="55"/>
    354             <openflow:port num="56"/>
    355             <openflow:port num="71"/>
    356         </openflow:datapath>
    357         <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.example.net+datapath:06:d6:00:12:e2:b8:a5:d0"
    358              component_manager_id="urn:publicid:IDN+openflow:foam:foam.example.net+authority+am">
    359           <openflow:port num="5"/>
    360           <openflow:port num="20"/>
    361         </openflow:datapath>
    362   </openflow:group>
    363 
    364   <openflow:match>
    365     <openflow:use-group name="tp10001" />
    366     <openflow:packet>
    367       <openflow:dl_type value="0x800, 0x806"/>
    368       <openflow:nw_src value="10.42.111.0/24" />
    369       <openflow:nw_dst value="10.42.111.0/24" />
    370       <openflow:tp_src value="10001" />
    371     </openflow:packet>
    372   </openflow:match>
    373 
    374   <openflow:match>
    375     <openflow:use-group name="tp10001" />
    376     <openflow:packet>
    377       <openflow:dl_type value="0x800, 0x806"/>
    378       <openflow:nw_src value="10.42.111.0/24" />
    379       <openflow:nw_dst value="10.42.111.0/24" />
    380       <openflow:tp_dst value="10001" />
    381     </openflow:packet>
    382   </openflow:match>
     349    <openflow:controller url="tcp:ctrl.example.net:8833" type="primary"/>
     350
     351    <openflow:group name="tp10001">
     352      <openflow:datapath
     353  component_id="urn:publicid:IDN+openflow:foam:uxmal.gpoalb.bbn.com+datapath:06:d6:00:24:a8:c4:b9:00"
     354           component_manager_id="urn:publicid:IDN+openflow:foam:uxmal.gpoalb.bbn.com+authority+am">
     355              <openflow:port num="55"/>
     356              <openflow:port num="56"/>
     357              <openflow:port num="71"/>
     358          </openflow:datapath>
     359          <openflow:datapath
     360  component_id="urn:publicid:IDN+openflow:foam:uxmal.gpoalb.bbn.com+datapath:06:d6:00:12:e2:b8:a5:d0"
     361               component_manager_id="urn:publicid:IDN+openflow:foam:uxmal.gpoalb.bbn.com+authority+am">
     362            <openflow:port num="5"/>
     363            <openflow:port num="20"/>
     364          </openflow:datapath>
     365    </openflow:group>
     366
     367    <openflow:match>
     368      <openflow:use-group name="tp10001" />
     369      <openflow:packet>
     370        <openflow:dl_type value="0x800, 0x806"/>
     371        <openflow:nw_src value="10.42.111.0/24" />
     372        <openflow:nw_dst value="10.42.111.0/24" />
     373        <openflow:tp_src value="10001" />
     374      </openflow:packet>
     375    </openflow:match>
     376
     377    <openflow:match>
     378      <openflow:use-group name="tp10001" />
     379      <openflow:packet>
     380        <openflow:dl_type value="0x800, 0x806"/>
     381        <openflow:nw_src value="10.42.111.0/24" />
     382        <openflow:nw_dst value="10.42.111.0/24" />
     383        <openflow:tp_dst value="10001" />
     384      </openflow:packet>
     385    </openflow:match>
     386  </openflow:sliver>
    383387</resv_rspec>
    384 }}}
     388
     389}}}