From 7e588e82f0663d0ef8ff777df8bc7111cc215657 Mon Sep 17 00:00:00 2001 From: Adrian Moreno Date: Fri, 8 Jul 2022 20:03:08 +0200 Subject: python: Add flow filtering syntax. 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 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). Acked-by: Eelco Chaudron Signed-off-by: Adrian Moreno Signed-off-by: Ilya Maximets --- Documentation/topics/language-bindings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/topics/language-bindings.rst b/Documentation/topics/language-bindings.rst index 5025f069f..414f7c73f 100644 --- a/Documentation/topics/language-bindings.rst +++ b/Documentation/topics/language-bindings.rst @@ -47,7 +47,7 @@ required dependencies, run: $ pip install ovs[flow] -or install `python3-netaddr`. +or install `python3-netaddr` and `python3-pyparsing`. __ https://github.com/openvswitch/ovs/tree/master/python/ovs -- cgit v1.2.1