Looking at the opendaylight-match-types.yang model:
grouping "mac-address-filter" {
leaf address {
mandatory true;
type yang:mac-address;
}
leaf mask {
type yang:mac-address;
}
}
I guess is something like this:
<match>
<ethernet-match>
<ethernet-destination>
<address>01:00:00:00:00:00</address>
<mask>01:00:00:00:00:00</mask>
</ethernet-destination>
</ethernet-match>
</match>
> On Feb 23, 2017, at 3:08 PM, Sterdnot Shaken <[email protected]> wrote:
>
> Howdy,
>
> Anyone have a example of an XML flow that matches on the MAC address WITH a
> mask? I'm looking for the equivalent of this ovs flow in said XML format:
>
> ovs-ofctl add-flow br0
> table=0,priority=105,in_port=1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00,actions=output:NORMAL
>
> Thanks in advance!
>
> _______________________________________________
> openflowplugin-dev mailing list
> [email protected]
> https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev