]> git.proxmox.com Git - mirror_ovs.git/commit
ovsdb-idl: New function ovsdb_idl_create_unconnected().
authorBen Pfaff <blp@ovn.org>
Mon, 18 Jun 2018 18:36:49 +0000 (11:36 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 4 Oct 2018 19:55:21 +0000 (12:55 -0700)
commit5e07b8f93f036e5502a045777372435b81361bea
treef71c8787f9f3afb061bb6484fd0597a7163856dd
parentbc9bbc4ea2645e5bbb3c02d986f26fdc83283d72
ovsdb-idl: New function ovsdb_idl_create_unconnected().

This new function makes it possible to create an instance of the IDL
without connecting it to a remote OVSDB server.  The caller can then
connect and disconnect using ovsdb_idl_set_remote(); the ability to
disconnect is a new feature.

With this patch, the ovsdb_idl 'session' member can be null whereas
previously it was always nonnull.  The scattered changes throughout
ovsdb-idl are to cope with this new possibility.

An upcoming patch will introduce the first user of this new feature.

Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/ovsdb-idl.c
lib/ovsdb-idl.h