Changes between Version 11 and Version 12 of HowTo/WriteOFv3Rspecs/Examples
- Timestamp:
- 09/30/11 13:29:14 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/WriteOFv3Rspecs/Examples
v11 v12 1 1 [[PageOutline]] 2 = OF v3 rspecs examples = 3 2 4 If you have written any interested OFv3 rspecs, feel free to add them at the bottom of this page and help others:-) 3 5 4 6 A complete example rspec can be found here [https://openflow.stanford.edu/display/FOAM/rspec example rspec] 5 7 6 = Rspec with one group = 8 9 == Rspec with one group == 7 10 If you want to apply your packet filters to the same set of dpids, then you just need to create one group 8 11 and use it in all your matches. In this example we only match on Ethernet addresses. … … 56 59 }}} 57 60 58 = Rspec with multiple groups=61 == Rspec with multiple groups == 59 62 If 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. 60 63 In this example we want all ARP packets of a specific vlan. … … 124 127 }}} 125 128 126 = Rspec with groups and datapaths=129 == Rspec with groups and datapaths == 127 130 If for only one of your matches you need a different set of datapaths, you don't need to create a group 128 131 you can just add the datapaths directly in your match. In this example we match all ssh (TCP port 22) traffic. … … 189 192 }}} 190 193 191 = Rspec for ICMP traffic from all the datapaths=194 == Rspec for ICMP traffic from all the datapaths == 192 195 {{{ 193 196 #!xml