summaryrefslogtreecommitdiff
path: root/python/ovs/jsonrpc.py
Commit message (Collapse)AuthorAgeFilesLines
* ovs.jsonrpc: Fix static method Session.open() reference to 'self'.Ben Pfaff2011-08-251-1/+1
| | | | Found by pychecker.
* ovs.jsonrpc: Fix static method Message.__validate_arg reference to 'self'.Ben Pfaff2011-08-251-7/+6
| | | | | | This method needs to be an instance method because it refers to 'self'. Found by pychecker.
* ovs.stream: Drop Stream.get_name() since clients can use 'name' directly.Ben Pfaff2011-08-241-1/+1
| | | | Suggested-by: Reid Price <reid@nicira.com>
* ovs.jsonrpc: Use "not X" in place of "len(X) == 0" for testing strings.Ben Pfaff2011-08-241-3/+3
| | | | Suggested-by: Reid Price <reid@nicira.com>
* ovs.jsonrpc: Remove Connection.get_name()--clients can use 'name' directly.Ben Pfaff2011-08-241-4/+1
| | | | Suggested-by: Reid Price <reid@nicira.com>
* ovs.jsonrpc: Remove dead class variable Message.__next_id.Ben Pfaff2011-08-241-1/+0
| | | | Reported-by: Reid Price <reid@nicira.com>
* python: Avoid using 'type' as a variable name.Ben Pfaff2011-08-241-5/+5
| | | | | | | 'type' is a Python built-in function, so it's best to avoid using it as a variable name. Reported-by: Reid Price <reid@nicira.com>
* jsonrpc.py: Import "ovs.json".Justin Pettit2011-02-211-0/+1
| | | | Reported-by: Giuseppe de Candia <giuseppe.decandia@gmail.com>
* Implement initial Python bindings for Open vSwitch database.Ben Pfaff2010-08-251-0/+526
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.