Changes between Version 13 and Version 14 of HowTo/WriteOFv3Rspecs/Examples
- Timestamp:
- 09/30/11 16:19:11 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/WriteOFv3Rspecs/Examples
v13 v14 264 264 = OFv2 to OFv3 conversion examples = 265 265 266 == Request port TCP port on a subnet == 266 == Request TCP port on a subnet == 267 268 The following example requests for all traffic that is sourced and destined to IP subnet 269 10.42.111.0/24 and it has as src or destination transport protocol port 10001. 267 270 268 271 === OF v1 === … … 270 273 #!xml 271 274 <!-- This rspec will reserve the OpenFlow resources at example.net that are used 272 for the Aster*xexperiment with OFv1275 for an experiment with OFv1 273 276 --> 274 277 <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 Asterixdemo"/>277 <slice controller_url="tcp:ctrl.example.net:8833" description="The Asterixcontroller."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"/> 279 282 <flowspace> 280 283 <port urn="urn:publicid:IDN+texpedient.example.net:expedient:openflow+switch:06:d6:00:24:a8:c4:b9:00+port:55"/> … … 340 343 type="request"> 341 344 <!-- This rspec will reserve the OpenFlow resources at example.net that are used 342 for the Aster*xexperiment with OFv1345 for an experiment with OFv1 343 346 --> 344 <openflow:sliver email=" asterx@example.net" description="Asterix" name="Stanford's Asterix demo"/>347 <openflow:sliver email="user@example.net" description="TP 10001" /> 345 348 <openflow:controller url="tcp:ctrl.example.net:8833" type="primary"/> 346 349 347 <openflow:group name=" aster*x">350 <openflow:group name="tp10001"> 348 351 <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:foam.example.net+datapath:06:d6:00:24:a8:c4:b9:00" 349 352 component_manager_id="urn:publicid:IDN+openflow:foam:foam.example.net+authority+am"> … … 360 363 361 364 <openflow:match> 362 <openflow:use-group name=" aster*x" />365 <openflow:use-group name="tp10001" /> 363 366 <openflow:packet> 364 367 <openflow:dl_type value="0x800, 0x806"/> … … 369 372 370 373 <openflow:match> 371 <openflow:use-group name=" aster*x" />374 <openflow:use-group name="tp10001" /> 372 375 <openflow:packet> 373 376 <openflow:dl_type value="0x800, 0x806"/>