OVSDB application library
Go to file
Terry Wilson ab3e0cb0d0 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
(cherry picked from commit cd70d1e290)
2022-10-25 13:09:58 +00:00
doc Switch to newer openstackdocstheme and reno versions 2020-05-25 13:33:41 +00:00
ovsdbapp Don't force_reconnect() on unhandled Idl exception 2022-10-25 13:09:58 +00:00
releasenotes Merge "nb: provide lrp_get method" 2021-12-02 19:37:07 +00:00
tools github no longer accepts git:// connections 2022-03-24 18:25:32 +00:00
zuul.d Add Python3 yoga unit tests 2021-09-10 14:32:37 +00:00
.gitignore Switch to stestr 2018-07-10 16:23:46 +07:00
.gitreview Update .gitreview for stable/yoga 2022-03-03 10:52:07 +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
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
TESTING.rst Add ability to debug OVS virtual environments 2017-07-13 19:51:31 +00:00
bindep.txt Add OVN Northbound API for LS, LSP, and DHCP 2017-07-03 23:19:46 -05:00
lower-constraints.txt Fix gate failure 2021-01-04 09:47:29 -05:00
requirements.txt Bump ovs minimum version for support of indexing 2020-10-07 15:21:08 +00:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-05-08 08:34:28 +08: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
tox.ini Update TOX_CONSTRAINTS_FILE for stable/yoga 2022-03-03 10:52:08 +00:00

README.rst

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