ab6e1fee0c
Right now the DbListCommand retrieves the uuid's of all the elements
passed in as argument. This is an O(n^2) operation so when the number
of elements in a grows it's likely that we get Timeout Exceptions.
Instead of doing this, whenever possible, we'll retrieve all the
elements (from the in-memory replica) and only fetch those who were
passed as arguments avoiding the O(n^2) operation.
NOTE: this cherry pick conflicted because in stable/pike, the commands.py
file was in different location.
Closes-Bug: #1769897
(cherry picked from
|
||
---|---|---|
doc/source | ||
ovsdbapp | ||
releasenotes | ||
tools | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/ovsdbapp
- Source: http://git.openstack.org/cgit/openstack/ovsdbapp
- Bugs: http://bugs.launchpad.net/ovsdbapp
Features
- An thread-based event loop for using ovs.db.Idl
- Transaction support
- Native OVSDB communication