lib: add monitor_cond_change API to C IDL lib
authorLiran Schour <lirans@il.ibm.com>
Mon, 18 Jul 2016 08:45:58 +0000 (11:45 +0300)
committerBen Pfaff <blp@ovn.org>
Tue, 19 Jul 2016 05:58:45 +0000 (22:58 -0700)
commit16ebb90e05cad5a3013cadd5b4249fac93935447
tree51a4b956d8f75bcf2cfecd81d951edaa76ece82c
parent897c8064f55c180a7cbaec75cc2ba7fb48031d17
lib: add monitor_cond_change API to C IDL lib

Add to IDL API that allows the user to add and remove clauses on a table's condition
iteratively. IDL maintain tables condition and send monitor_cond_change to the server
upon condition change.
Add tests for conditional monitoring to IDL.

Signed-off-by: Liran Schour <lirans@il.ibm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
12 files changed:
lib/automake.mk
lib/ovsdb-condition.c [new file with mode: 0644]
lib/ovsdb-condition.h [new file with mode: 0644]
lib/ovsdb-idl-provider.h
lib/ovsdb-idl.c
lib/ovsdb-idl.h
ovsdb/condition.h
ovsdb/ovsdb-idlc.in
python/ovs/db/idl.py
tests/ovsdb-idl.at
tests/test-ovsdb.c
tests/test-ovsdb.py