The first of these patches supercedes [1] and makes the addition of partial set operations officially open for reviews.
The second patch in the series updates the Python IDL to allow similar partial set and partial map operations (as the original partial map commits did not include Python code). The unit tests in the second commit are not a complete carbon copy of their C bretheren as the Python IDL test harness does not appear to handle idempotency testing and dumping of a map to string ends up dumping an unordered list leading to sporadic test failures (suggestions for how to fix this will be appreciated) [1] http://patchwork.ozlabs.org/patch/655555/ Ryan Moats (2): ovsdb: Add/use partial set updates. python: Add support for partial map and partial set updates lib/automake.mk | 2 + lib/ovsdb-idl-provider.h | 3 + lib/ovsdb-idl.c | 390 +++++++++++++++++++++++++++++++++++------------ lib/ovsdb-idl.h | 6 + lib/ovsdb-set-op.c | 170 +++++++++++++++++++++ lib/ovsdb-set-op.h | 44 ++++++ ovsdb/ovsdb-idlc.in | 65 +++++++- python/ovs/db/idl.py | 197 ++++++++++++++++++++++-- tests/idltest.ovsschema | 14 ++ tests/idltest2.ovsschema | 14 ++ tests/ovsdb-idl.at | 62 ++++++++ tests/test-ovsdb.c | 104 ++++++++++++- tests/test-ovsdb.py | 83 ++++++++++ 13 files changed, 1041 insertions(+), 113 deletions(-) create mode 100644 lib/ovsdb-set-op.c create mode 100644 lib/ovsdb-set-op.h -- 2.7.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev