OVSDB application library
Go to file
Terry Wilson 692653f49f Allow read-only Commands to bypass txns in execute()
Since the ovs_idl backend maintains an in-memory copy of the DB,
read-only commands can be executed w/o creating a transaction.
Since it is possible for a function that calls execute() to be
automatically nested into an existing transaction, execute()
wasn't able to access the result since it only happens once the
parent transaction completed. Handling these read-only commands
w/o creating a transaction allows the results to be read and
avoids wasting resources by creating needless transactions.

ReadOnlyCommands can still be used in with transaction(): blocks
with no changes.

Change-Id: I62d6fc2a209535227686a2397b8f7cb169e7d35b
Closes-bug: 1813213
2019-01-24 15:37:36 -06:00
doc/source Removes unnecessary utf-8 encoding 2017-07-20 16:35:33 +05:30
ovsdbapp Allow read-only Commands to bypass txns in execute() 2019-01-24 15:37:36 -06:00
releasenotes Update reno for stable/rocky 2018-08-17 18:59:59 +00:00
tools Check for oslo library usage 2018-08-23 09:03:54 -05:00
zuul.d Migrate tempest job to zuul v3 native 2018-11-15 15:07:16 +00:00
.gitignore Switch to stestr 2018-07-10 16:23:46 +07:00
.gitreview Add .gitreview 2017-03-13 16:48:53 -05:00
.pylintrc update pylint to 1.9.2 2018-08-21 09:36:16 -04:00
.stestr.conf Group tests in same class to run in same group 2018-11-20 12:32:29 -06:00
CONTRIBUTING.rst Add cookiecutter output 2017-02-24 15:02:19 -05: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 There is no documentation for ovsdbapp 2017-07-20 16:18:21 +05:30
TESTING.rst Add ability to debug OVS virtual environments 2017-07-13 19:51:31 +00:00
babel.cfg Add cookiecutter output 2017-02-24 15:02:19 -05:00
bindep.txt Add OVN Northbound API for LS, LSP, and DHCP 2017-07-03 23:19:46 -05:00
lower-constraints.txt update pylint to 1.9.2 2018-08-21 09:36:16 -04:00
requirements.txt Remove the oslo-utils dependency 2018-08-21 11:16:26 +02:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-04 16:29:20 +00:00
setup.py Updated from global requirements 2017-03-15 04:26:57 +00:00
test-requirements.txt update pylint to 1.9.2 2018-08-21 09:36:16 -04:00
tox.ini Merge "fix tox python3 overrides" 2018-08-23 16:41:42 +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