OVSDB application library
Go to file
Terry Wilson 4bde2d5237 Add OVN Northbound API for LS, LSP, and DHCP
This patch implments the ovn-nbctl API for the Logical_Switch,
Logical_Switch_Port, and DHCP_Options commands. Additional patches
will implement logical router and load balancer functionality.

As a convenience, the add/list/get commands return a special
read-only version of an ovs.db.idl.Row object called a RowView.
This object can be compared to a Row for equality and hashing. This
saves having to return uuids and then look them up. This behavior
differs from the Open_vSwitch schema implementation. This wrapper
serves both to keep people from modifying returned values outside of
a transaction and as an interface for any future backend to implement.

In addition, an ovs virtual environment fixture based on ovs-sandbox
is added to set up a sandboxed ovs/ovn install for running functional
tests.

Change-Id: I93689158467ff73a1b02588510d168b50ed6292a
2017-07-03 23:19:46 -05:00
doc/source Add cookiecutter output 2017-02-24 15:02:19 -05:00
ovsdbapp Add OVN Northbound API for LS, LSP, and DHCP 2017-07-03 23:19:46 -05:00
releasenotes Fix all broken jobs 2017-03-23 08:52:07 +00:00
tools Add OVN Northbound API for LS, LSP, and DHCP 2017-07-03 23:19:46 -05: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
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
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
requirements.txt Add OVN Northbound API for LS, LSP, and DHCP 2017-07-03 23:19:46 -05:00
setup.cfg The python 3.5 is added 2017-06-30 10:37:53 -04:00
setup.py Updated from global requirements 2017-03-15 04:26:57 +00:00
test-requirements.txt Merge "Enable pylint 1.4.5" 2017-06-30 10:23:31 +00:00
tox.ini Add OVN Northbound API for LS, LSP, and DHCP 2017-07-03 23:19:46 -05: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