This patch set adds partial set updates and updates the Python IDL to support parital map and parital set operations. The python unit tests 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).
v4->v5: Fixed a whitespace error in patch and corrected a typo when initializing a row in the IDL. v3->v4: Fixed an issue with idltest2.ovsschema that will lead to unit test case failure. v2->v3: Fixed some whitespace errors in patch. v1->v2: Removed RFC designation for ovsdb patch. Added python patch. 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 | 388 +++++++++++++++++++++++++++++++++++------------ 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 | 196 ++++++++++++++++++++++-- tests/idltest.ovsschema | 30 ++++ tests/idltest2.ovsschema | 30 ++++ tests/ovsdb-idl.at | 66 ++++++++ tests/test-ovsdb.c | 137 ++++++++++++++++- tests/test-ovsdb.py | 88 +++++++++++ 13 files changed, 1108 insertions(+), 117 deletions(-) create mode 100644 lib/ovsdb-set-op.c create mode 100644 lib/ovsdb-set-op.h -- 2.7.4 (Apple Git-66) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev