diff options
author | Adrian Moreno <amorenoz@redhat.com> | 2022-07-08 20:03:01 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-15 17:40:46 +0200 |
commit | dcd17a896c38455b7c303ebcb05f300573dd84b2 (patch) | |
tree | 200718d70cb784899d9f85c192b29cf0aa6d1e33 /.ci | |
parent | 12bc968e2633d97b2977f3e158b0c6da0f97670c (diff) | |
download | openvswitch-dcd17a896c38455b7c303ebcb05f300573dd84b2.tar.gz |
python: Add mask, ip and eth decoders.
Add more decoders that can be used by KVParser.
For IPv4 and IPv6 addresses, create a new class that wraps
netaddr.IPAddress.
For Ethernet addresses, create a new class that wraps netaddr.EUI.
For Integers, create a new class that performs basic bitwise mask
comparisons
netaddr is added as a new shoft dependency:
- extras_require in setup.py
- Suggests in deb and rpm packages
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 1fe890846..831ce46ba 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' sphinx setuptools pyelftools + flake8 'hacking>=3.0' netaddr sphinx setuptools pyelftools pip3 install --user 'meson==0.49.2' if [ "$M32" ]; then |