OVSDB application library
Go to file
Rodolfo Alonso Hernandez 019f0a2acb All `AddCommand` child classes return the new register UUID
This patch fixes the return of two classes, ``HealthCheckAddCommand``
and ``GatewayChassisAddCommand``, that instead the new register UUID
were returning the register ifself.

NOTE:
* ``HealthCheckAddCommand`` is only used in ``LbAddHealthCheckCommand``
  (it has no IDL API method). It is tested in [1].
* ``GatewayChassisAddCommand`` is used in ``LrpAddCommand`` and
  ``LrpSetGatewayChassisCommand`` (it has no IDL API method). It is
  tested in [2] and [3].

[1]96cf8d6288/ovsdbapp/tests/functional/schema/ovn_northbound/test_impl_idl.py (L1731-L1762)
[2]96cf8d6288/ovsdbapp/tests/functional/schema/ovn_northbound/test_impl_idl.py (L1531-L1552)
[3]96cf8d6288/ovsdbapp/tests/functional/schema/ovn_northbound/test_impl_idl.py (L1505-L1516)

Closes-Bug: #2004170

Change-Id: I48df608aedce3012a2ae7aa4de636fa837bd47aa
2023-02-02 07:39:37 +00:00
doc remove unicode from code 2021-12-24 14:48:33 +08:00
ovsdbapp All `AddCommand` child classes return the new register UUID 2023-02-02 07:39:37 +00:00
releasenotes Update master for stable/zed 2022-09-09 11:48:05 +00:00
tools github no longer accepts git:// connections 2022-03-21 21:24:10 +00:00
zuul.d Switch to 2023.1 Python3 unit tests and generic template name 2022-09-14 09:27:15 +00:00
.gitignore Switch to stestr 2018-07-10 16:23:46 +07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:43:59 +00:00
.pylintrc Update hacking for Python3 2020-04-01 10:06:32 -04:00
.stestr.conf Group tests in same class to run in same group 2018-11-20 12:32:29 -06:00
bindep.txt Add OVN Northbound API for LS, LSP, and DHCP 2017-07-03 23:19:46 -05:00
CONTRIBUTING.rst Update Zuul jobs: Enable docs publishing 2019-09-05 09:17:05 +02:00
HACKING.rst Check for oslo library usage 2018-08-23 09:03:54 -05:00
LICENSE Add cookiecutter output 2017-02-24 15:02:19 -05:00
README.rst Merge "PDF documentation build" 2019-09-26 11:59:36 +00:00
requirements.txt Drop lower-constraints.txt and its testing 2022-04-30 20:27:33 -05:00
setup.cfg Update python testing as per zed cycle teting runtime 2022-05-11 22:13:14 -05:00
setup.py Updated from global requirements 2017-03-15 04:26:57 +00:00
test-requirements.txt Move linters dependencies to tox.ini 2021-12-22 02:11:49 +00:00
TESTING.rst Add ability to debug OVS virtual environments 2017-07-13 19:51:31 +00:00
tox.ini Update tox.ini for tox4 2023-01-23 16:28:52 +01:00

ovsdbapp

A library for creating OVSDB applications

The ovdsbapp library is useful for creating applications that communicate via Open_vSwitch's OVSDB protocol (https://tools.ietf.org/html/rfc7047). It wraps the Python 'ovs' and adds an event loop and friendly transactions.

Features:

  • An thread-based event loop for using ovs.db.Idl
  • Transaction support
  • Native OVSDB communication