OVSDB application library
Go to file
Terry Wilson ed2184fad8 Add ability to debug OVS virtual environments
When writing tests, it is useful to be able to look at the database
being modified. Since we use OVS virtual environments and delete
them when the test ends, this is difficult to do.

This patch adds the ability to pass KEEP_ENV=1 when running tox to
keep the virtual environment around and adds tools/debug_venv to
launch an OVS sandbox using the OVS virtual environment.

Change-Id: Idbec2d544d913ffa8888a050b8a53d016c0315f2
2017-07-13 19:51:31 +00:00
doc/source rearrange existing documentation to fit the new standard layout 2017-07-08 17:30:46 +00:00
ovsdbapp Add ability to debug OVS virtual environments 2017-07-13 19:51:31 +00:00
releasenotes Switch from oslosphinx to openstackdocstheme 2017-07-08 17:30:46 +00:00
tools Add ability to debug OVS virtual environments 2017-07-13 19:51:31 +00:00
.gitignore Ignore .testrepository and editor(s) files 2017-04-21 10:09:30 +01:00
.gitreview Add .gitreview 2017-03-13 16:48:53 -05:00
.pylintrc pylint: Disable duplicate-code for check 2017-07-03 20:31:35 +00:00
.testr.conf Fix pep8/cookiecutter test running 2017-02-24 15:32:17 -05:00
CONTRIBUTING.rst Add cookiecutter output 2017-02-24 15:02:19 -05:00
HACKING.rst Add cookiecutter output 2017-02-24 15:02:19 -05:00
LICENSE Add cookiecutter output 2017-02-24 15:02:19 -05:00
MANIFEST.in Add cookiecutter output 2017-02-24 15:02:19 -05:00
README.rst Add a description to README.rst 2017-04-21 16:20:55 -05:00
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
requirements.txt Updated from global requirements 2017-07-04 19:12:52 +00:00
setup.cfg Enable warning-is-error in doc build 2017-07-08 17:30:45 +00:00
setup.py Updated from global requirements 2017-03-15 04:26:57 +00:00
test-requirements.txt Switch from oslosphinx to openstackdocstheme 2017-07-08 17:30:46 +00:00
tox.ini Add ability to debug OVS virtual environments 2017-07-13 19:51:31 +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