From dcd17a896c38455b7c303ebcb05f300573dd84b2 Mon Sep 17 00:00:00 2001 From: Adrian Moreno Date: Fri, 8 Jul 2022 20:03:01 +0200 Subject: 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 Signed-off-by: Adrian Moreno Signed-off-by: Ilya Maximets --- Documentation/topics/language-bindings.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Documentation') diff --git a/Documentation/topics/language-bindings.rst b/Documentation/topics/language-bindings.rst index 43c64349a..5025f069f 100644 --- a/Documentation/topics/language-bindings.rst +++ b/Documentation/topics/language-bindings.rst @@ -40,6 +40,15 @@ the bindings using ``pip``: $ pip install ovs +The Python bindings include an optional flow parsing library. To install it's +required dependencies, run: + +:: + + $ pip install ovs[flow] + +or install `python3-netaddr`. + __ https://github.com/openvswitch/ovs/tree/master/python/ovs Third-Party Bindings -- cgit v1.2.1