summaryrefslogtreecommitdiff
path: root/python/ovs/ovsuuid.py
Commit message (Collapse)AuthorAgeFilesLines
* ovs.ovsuuid: Fix UUID.cInitUUID invocation of re.match with too few params.Ben Pfaff2011-08-251-1/+1
| | | | Found by pychecker.
* python/ovs/ovsuuid: Fix behavior of UUID.from_json() with no symbol table.Ben Pfaff2011-03-101-1/+3
| | | | | | UUID.from_json(['named-uuid', 'x'], None) should raise an error about invalid syntax, but instead it was raising a TypeError because it would try to evaluate "'x' not in None". This fixes the problem and adds a test.
* Implement initial Python bindings for Open vSwitch database.Ben Pfaff2010-08-251-0/+72
These initial bindings pass a few hundred of the corresponding tests for C implementations of various bits of the Open vSwitch library API. The poorest part of them is actually the Python IDL interface in ovs.db.idl, which has not received enough attention yet. It appears to work, but it doesn't yet support writes (transactions) and it is difficult to use. I hope to improve it as it becomes clear what semantics Python applications actually want from an IDL.