]> git.proxmox.com Git - mirror_ovs.git/commit - tests/ovsdb-idl.at
python: Add support for partial map and partial set updates
authorRyan Moats <rmoats@us.ibm.com>
Sat, 6 Aug 2016 22:46:30 +0000 (17:46 -0500)
committerBen Pfaff <blp@ovn.org>
Sun, 14 Aug 2016 23:51:06 +0000 (16:51 -0700)
commita59912a0ee8e413ecd66e8f24009946c8a515def
tree719b565c41b6c788bd3e7dc0f62fab11d7623522
parent98e88b5b603102af39232a6ce8dabc6e84a74c79
python: Add support for partial map and partial set updates

Allow the python IDL to use mutate operations more freely
by mimicing the partial map and partial set operations now
available in the C IDL.

Unit tests for both of these types of operations are included.
They are not carbon copies of the C tests, because testing
idempotency is a bit difficult for the current python IDL
test harness.

Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
python/ovs/db/idl.py
tests/ovsdb-idl.at
tests/test-ovsdb.py