Changes between Version 7 and Version 8 of HowTo/WriteOFv3Rspecs/Examples


Ignore:
Timestamp:
09/30/11 09:57:10 (13 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteOFv3Rspecs/Examples

    v7 v8  
    44= Rspec with one group =
    55If you want to apply your packet filters to the same set of dpids, then you just need to create one group
    6 and use it in all your matches.
     6and use it in all your matches. In this example we only match on Ethernet addresses.
    77
    88{{{
     
    3737           <openflow:use-group name="mygrp" />
    3838           <openflow:packet>
    39              <openflow:nw_src value="10.1.1.0/24" />
    40              <openflow:tp_src value="80" />
     39             <openflow:dl_src value="10:01:01:00:24:ef" />
    4140           <openflow:packet />
    4241       <openflow:match>
     
    4544           <openflow:use-group name="mygrp" />
    4645           <openflow:packet>
    47              <openflow:nw_src value="10.1.1.0/24" />
    48              <openflow:tp_src value="80, 8080-8090" />
     46             <openflow:dl_dst value="10:01:01:0:24:73" />
    4947           <openflow:packet />
    5048         <openflow:match>