This is a first series of patches that builds up toward clustered OVSDB. This part has very little directly to do with OVSDB itself--most of the patches just fix minor bugs or add minor features.
The full series is available at: https://github.com/blp/ovs-reviews/tree/raft8 Ben Pfaff (13): replication: Avoid theoretical use-after-free error in reset_database(). daemon-unix: With --monitor, only close standard fds if --detach also used. table: Avoid trailing white space in tables. util: Avoid trailing white space in hex dumps. ofp-print: Avoid trailing white space in OpenFlow dumps. reconnect: Add ability to do a number of retries without backoff. jsonrpc: Allow jsonrpc_session to have more than one remote. jsonrpc: Increment sequence number when connection actually made. socket-util: Make parse_bracketed_token() public, as inet_parse_token(). tests: Add support for 1-argument 'seq' in emulation. uuid: New function uuid_random(). json: New function json_nullable_clone(). json: New function json_object_put_format(). include/openvswitch/json.h | 7 ++++- lib/daemon-unix.c | 4 ++- lib/json.c | 20 ++++++++++++- lib/jsonrpc.c | 58 ++++++++++++++++++++++++++++++++----- lib/jsonrpc.h | 6 +++- lib/ofp-print.c | 1 + lib/reconnect.c | 52 ++++++++++++++++++++++----------- lib/reconnect.h | 3 ++ lib/socket-util.c | 14 ++++----- lib/socket-util.h | 3 +- lib/svec.c | 18 ++++++++++++ lib/svec.h | 1 + lib/table.c | 3 ++ lib/util.c | 7 +++-- lib/uuid.c | 8 ++++++ lib/uuid.h | 1 + ovsdb/replication.c | 4 +-- python/ovs/reconnect.py | 53 ++++++++++++++++++++++------------ tests/ofp-errors.at | 44 ++++++++++++++-------------- tests/ofp-print.at | 16 +++++------ tests/ofp-util.at | 18 ++++++------ tests/ovs-macros.at | 3 ++ tests/ovs-ofctl.at | 20 ++++++------- tests/ovsdb-replication.at | 12 ++++---- tests/ovsdb-server.at | 38 ++++++++++++------------ tests/ovsdb-tool.at | 72 +++++++++++++++++++++++----------------------- tests/reconnect.at | 56 +++++++++++++++++++++++++++++++++++- tests/test-reconnect.c | 8 ++++++ tests/test-reconnect.py | 5 ++++ 29 files changed, 385 insertions(+), 170 deletions(-) -- 2.10.2 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev