Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Is it possible to match a flow on a range of ports?

asked 2014-12-03 05:14:53 -0700

Lorunification gravatar image

updated 2014-12-03 05:15:38 -0700

I would like to install a flow that matches on TPSRC and/or TPDST on a range of ports like 1 - 80. Is this possible with a single flow or would i have to install a single flow for each port?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-03 16:05:01 -0700

Colin Dixon gravatar image

OpenFlow does not allow for "range matches" in that sense.

It does allow for "masked matching" on some fields where you can specify wildcards for specific bits in a given field. However, port is not one of those fields in OpenFlow 1.0. In OpenFlow 1.3, you can (at least in theory) do a masked match on a port. This would allow you to match on ports where the 10th bit is one, e.g., ports >= 1024.

See section on page 50 of the OpenFlow 1.3.3 spec here:

edit flag offensive delete publish link more


Are you perhaps able to provide an example of how to achieve this from the Opendaylight GUI (localhost:8080) or how to achieve this via java code?

Lorunification ( 2014-12-04 06:25:09 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-12-03 05:14:53 -0700

Seen: 534 times

Last updated: Dec 03 '14