[ovs-git] [openvswitch/ovs] 238f00: jsonrpc: Increment sequence number when connection...

GitHub noreply at github.com
Tue Oct 24 23:13:12 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 238f0052d861f41d41c57e33dbfc052689af7e8f
      https://github.com/openvswitch/ovs/commit/238f0052d861f41d41c57e33dbfc052689af7e8f
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M lib/jsonrpc.c

  Log Message:
  -----------
  jsonrpc: Increment sequence number when connection actually made.

The purpose of the sequence number is to allow the client to figure out
when the connection status has changed.  The significant event for the
client is when a connection completes, not when a connection attempt
starts.  Thus, this commit changes the code to increment the sequence
number at completion, not at the attempt.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


  Commit: ce04c33d8b20c20aff73b45348b6769f80ce6e6f
      https://github.com/openvswitch/ovs/commit/ce04c33d8b20c20aff73b45348b6769f80ce6e6f
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M lib/socket-util.c
    M lib/socket-util.h

  Log Message:
  -----------
  socket-util: Make parse_bracketed_token() public, as inet_parse_token().

An upcoming commit will introduce a new user outside socket-util.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


  Commit: 1011580e62da3b4f0257318721bf00f7b81e477b
      https://github.com/openvswitch/ovs/commit/1011580e62da3b4f0257318721bf00f7b81e477b
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/ovs-macros.at

  Log Message:
  -----------
  tests: Add support for 1-argument 'seq' in emulation.

The testsuite has an emulation of the common utility 'seq' that only
supported 2- and 3-argument forms.  This commit adds support for the
1-argument form.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


  Commit: ffa3493a00dfbfeca2959ae4186ed99039a4c112
      https://github.com/openvswitch/ovs/commit/ffa3493a00dfbfeca2959ae4186ed99039a4c112
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M lib/uuid.c
    M lib/uuid.h

  Log Message:
  -----------
  uuid: New function uuid_random().

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


  Commit: d697750af6e81c2a68a3b8b552a5ed98380e7d54
      https://github.com/openvswitch/ovs/commit/d697750af6e81c2a68a3b8b552a5ed98380e7d54
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M include/openvswitch/json.h
    M lib/json.c

  Log Message:
  -----------
  json: New function json_nullable_clone().

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


  Commit: 52a9c55d558a68cd70391961ab561b01417464ff
      https://github.com/openvswitch/ovs/commit/52a9c55d558a68cd70391961ab561b01417464ff
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M include/openvswitch/json.h
    M lib/json.c

  Log Message:
  -----------
  json: New function json_object_put_format().

This will acquire users in an upcoming commit.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/4410f206911d...52a9c55d558a


More information about the git mailing list