On 28 Jan 2022, at 17:04, Adrian Moreno wrote:

> Based on pyparsing, create a very simple filtering syntax.
>
> It supports basic logic statements (and, &, or, ||, not, !), numerical
> operations (<, >), equality (=, !=) and masking (~=). The latter is only

nit: missing command before “and masking”, i.e. “operations (<, >), equality 
(=, !=), and masking (~=).”

> supported in certain fields (IntMask, EthMask, IPMask).
>
> Masking operation is semantically equivalent to "includes",
> therefore:
>
>     ip_src ~= 192.168.1.1
>
> means that ip_src field is either a host IP address equal to 192.168.1.1
> or an IPMask that includes it (e.g: 192.168.1.1/24).
>
> Signed-off-by: Adrian Moreno <[email protected]>

Looks good!

Acked-by: Eelco Chaudron <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to