summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorAdrian Moreno <amorenoz@redhat.com>2022-07-08 20:03:01 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-07-15 17:40:46 +0200
commitdcd17a896c38455b7c303ebcb05f300573dd84b2 (patch)
tree200718d70cb784899d9f85c192b29cf0aa6d1e33 /rhel
parent12bc968e2633d97b2977f3e158b0c6da0f97670c (diff)
downloadopenvswitch-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 'rhel')
-rw-r--r--rhel/openvswitch-fedora.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index cb7a02cab..7f0fad918 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -113,6 +113,7 @@ Summary: Open vSwitch python3 bindings
License: ASL 2.0
BuildArch: noarch
Requires: python3
+Suggests: python3-netaddr
%{?python_provide:%python_provide python3-openvswitch = %{version}-%{release}}
%description -n python3-openvswitch