diff options
author | Adrian Moreno <amorenoz@redhat.com> | 2022-07-08 20:03:08 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-15 20:14:24 +0200 |
commit | 7e588e82f0663d0ef8ff777df8bc7111cc215657 (patch) | |
tree | 7002e602a586cf269defdf953997abfc4f9be25a /.ci | |
parent | 076663b31edca55ec62120200bbc07d09d1af720 (diff) | |
download | openvswitch-7e588e82f0663d0ef8ff777df8bc7111cc215657.tar.gz |
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 <echaudro@redhat.com>
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/linux-prepare.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/linux-prepare.sh b/.ci/linux-prepare.sh index 831ce46ba..b8ed787e1 100755 --- a/.ci/linux-prepare.sh +++ b/.ci/linux-prepare.sh @@ -26,7 +26,7 @@ cd .. # https://github.com/pypa/pip/issues/10655 pip3 install --disable-pip-version-check --user wheel pip3 install --disable-pip-version-check --user \ - flake8 'hacking>=3.0' netaddr sphinx setuptools pyelftools + flake8 'hacking>=3.0' netaddr pyparsing sphinx setuptools pyelftools pip3 install --user 'meson==0.49.2' if [ "$M32" ]; then |