frenetic-lang / pyretic

The Pyretic language and runtime system
http://frenetic-lang.org/pyretic/
159 stars 99 forks source link

wildcards in pyretic... #53

Open saturnt opened 9 years ago

saturnt commented 9 years ago

Is there a way to specify wildcards in pyretic for mac addresses when matching policies something like below.

match(srcmac=, dstmac=)

Thanks, -Tejas

jnfoster commented 9 years ago

If by wildcards you mean bit mask then no. And it's not Pyretic's fault -- MAC bitmasks are not supported in OpenFlow 1.0.

On Sat, Jul 4, 2015 at 1:11 PM, saturnt notifications@github.com wrote:

Is there a way to specify wildcards in pyretic for mac addresses when matching policies something like below.

match(srcmac=, dstmac=)

Thanks, -Tejas

— Reply to this email directly or view it on GitHub https://github.com/frenetic-lang/pyretic/issues/53.