Changes between Version 7 and Version 8 of HowTo/WriteOFv3Rspecs/Examples
- Timestamp:
- 09/30/11 09:57:10 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/WriteOFv3Rspecs/Examples
v7 v8 4 4 = Rspec with one group = 5 5 If 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. 6 and use it in all your matches. In this example we only match on Ethernet addresses. 7 7 8 8 {{{ … … 37 37 <openflow:use-group name="mygrp" /> 38 38 <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" /> 41 40 <openflow:packet /> 42 41 <openflow:match> … … 45 44 <openflow:use-group name="mygrp" /> 46 45 <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" /> 49 47 <openflow:packet /> 50 48 <openflow:match>