| 218 | |
| 219 | * the matches on the packet header tags have very similar names you just need to append openflow: before them, e.g. <dl_type> is now <openflow:dl_type>. All the packet header matches are now enclosed in an <openflow:packet> tag. Not all tags support ranges any more, but they all support lists. Check the [wiki:HowTo/WriteOFv3Rspecs/Spec#Filterelements specifications] |
| 220 | |
| 221 | {{{ |
| 222 | #!xml |
| 223 | OPENFLOW v1-2 |
| 224 | <dl_type from="2048" to="2054"/> |
| 225 | <nw_dst from="10.42.15.0" to="10.42.15.255"/> |
| 226 | |
| 227 | OPENFLOW v3 |
| 228 | <openflow:packet> |
| 229 | <openflow:dl_type value="2048, 2049, 2050, 2051, 2052, 2053, 2054"/> |
| 230 | <openflow:nw_dst value="10.42.15.0/24" /> |
| 231 | </openflow:packet> |
| 232 | }}} |