lib: add monitor2 support in ovsdb-idl.
authorAndy Zhou <azhou@nicira.com>
Thu, 15 Oct 2015 21:09:37 +0000 (14:09 -0700)
committerAndy Zhou <azhou@ovn.org>
Fri, 11 Dec 2015 22:22:33 +0000 (14:22 -0800)
commitdb2b5757328c36ff452c5c6af360cbc7fb05f0c8
tree1e9566b298651a7468e54e60c9c5e4d8d7c862d2
parent85226894ddec78f5aa7b7ab5dd8e8d11cc0fbde0
lib: add monitor2 support in ovsdb-idl.

Add support for monitor2. When idl starts to run, monitor2 will be
attempted first. In case the server is an older version that does
not recognize monitor2.  IDL will then fall back to use "monitor"
method.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/ovsdb-idl.c
tests/ovsdb-idl.at