Changes between Version 11 and Version 12 of HowTo/WriteOFv3Rspecs/Examples


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

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteOFv3Rspecs/Examples

    v11 v12  
    11[[PageOutline]]
     2= OF v3 rspecs examples =
     3
    24If you have written any interested OFv3 rspecs, feel free to add them at the bottom of this page and help others:-)
    35
    46A complete example rspec can be found here [https://openflow.stanford.edu/display/FOAM/rspec example rspec]
    57
    6 = Rspec with one group =
     8
     9== Rspec with one group ==
    710If you want to apply your packet filters to the same set of dpids, then you just need to create one group
    811and use it in all your matches. In this example we only match on Ethernet addresses.
     
    5659}}}
    5760
    58 = Rspec with multiple groups =
     61== Rspec with multiple groups ==
    5962If you need to apply different packet filters in different datapath sets, then you can create multiple groups and use them as needed in your matches.
    6063In this example we want all ARP packets of a specific vlan. 
     
    124127}}}
    125128
    126 = Rspec with groups and datapaths =
     129== Rspec with groups and datapaths ==
    127130If for only one of your matches you need a different set of datapaths, you don't need to create a group
    128131you can just add the datapaths directly in your match. In this example we match all ssh (TCP port 22) traffic.
     
    189192}}}
    190193
    191 = Rspec for ICMP traffic from all the datapaths =
     194== Rspec for ICMP traffic from all the datapaths ==
    192195{{{
    193196#!xml