OVSDB application library
Go to file
Terry Wilson cd70d1e290 Don't force_reconnect() on unhandled Idl exception
There's no reason to believe that reconnecting to ovsdb-server will
resolve an unhandled exception in python-ovs. In addition, since users
often subclass Idl and add their own notify() methods, there could be
exceptions thrown from that code.

The best we can do is log what is going on and rely on users to fix
the issue. Delaying with sleep() is usually a bad idea since if there
was some kind of ovsdb reconnection, it will delay calls to Idl.run()
which will handle that reconnection over several calls.

Change-Id: Iab2177fb9fa653292a3805689895f98e0833dc4a
2022-10-24 21:28:54 +00:00
doc remove unicode from code 2021-12-24 14:48:33 +08:00
ovsdbapp Don't force_reconnect() on unhandled Idl exception 2022-10-24 21:28:54 +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 Merge "vtep: add support for 'hardware_vtep' schema" 2022-07-20 15:08:43 +00: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