Changes between Version 13 and Version 14 of HowTo/WriteOFv3Rspecs


Ignore:
Timestamp:
09/30/11 11:30:52 (8 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteOFv3Rspecs

    v13 v14  
    168168If you are starting with an Expedient (v1 or v2) rspec basic guidlines are
    169169   *  replace <recv_rspec> tag with the <rspec> tag, look at the [[https://openflow.stanford.edu/display/FOAM/rspec example rspec] for how this looks like.
     170   * the rest of the rspec should be inside the <openflow:sliver> tag
    170171   * the <user>, <project>, <slice> tags do not exist anymore but some of the information there is used in the <openflow:sliver> and <openflow:controller> tags. In detail :
    171172      * <user email> => <openflow:sliver email>
     
    183184
    184185OPENFLOW v3
    185    <openflow:sliver email="jane@example.net" description="Jane's project at GENI" />
     186   <openflow:sliver email="jane@example.net" description="Jane's project at GENI">
    186187      <openflow:controller url="tcp:naxos.example.net:33110" type="primary" />
    187188      }}}
     
    189190   * The <flowspace> tag is now called <openflow:match>
    190191   * Both <port> and <switch> tags map to the <openflow:datapath> tag.
    191       * a switch tag corresponds to a
    192  
     192      * a switch tag corresponds to an <openflow:datapath> with no <openflow:port> tags. Just like in v1-2, an <openflow:datapath> tag with no ports implies the whole datapath.
     193      {{{
     194#!xml
     195OPENFLOW v1-2
     196   <switch urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80" />
     197
     198OPENFLOW v3
     199   <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+datapath:06:d6:00:26:f1:3f:e4:80
     200          component_manager_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+authority+am />
     201      }}}
     202      * a port tag corresponds to an <openflow:datapath> tag with <openflow:ports>
     203     {{{
     204#!xml
     205OPENFLOW v1-2
     206   <port urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80+port:16"/>
     207   <port urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80+port:18"/>
     208   <port urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80+port:36"/>
     209
     210OPENFLOW v3
     211   <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+datapath:06:d6:00:26:f1:3f:e4:80
     212          component_manager_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+authority+am >
     213     <openflow:port num="16"/>
     214     <openflow:port num="18"/>
     215     <openflow:port num="36"/>
     216   </openflow:datapath>
     217      }}}