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 /Documentation | |
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 'Documentation')
-rw-r--r-- | Documentation/topics/language-bindings.rst | 9 |
1 files changed, 9 insertions, 0 deletions
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 |