[ovs-git] [openvswitch/ovs] c8e0d9: ovs-sandbox: Use different log file names for ovn-...

GitHub noreply at github.com
Fri Jul 6 21:47:50 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c8e0d9809c2681c0f4e34561a434b535f517eefb
      https://github.com/openvswitch/ovs/commit/c8e0d9809c2681c0f4e34561a434b535f517eefb
  Author: Justin Pettit <jpettit at ovn.org>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M tutorial/ovs-sandbox

  Log Message:
  -----------
  ovs-sandbox: Use different log file names for ovn-controllers.

Commit 047458de40391 ("ovs-sandbox: Add option to support multiple
ovn-controllers.") allowed creating multiple instances of
ovn-controller.  However, all instances would use the same log file
name.  This commit uses the sequence number to name the log file.

Signed-off-by: Justin Pettit <jpettit at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


  Commit: 97b089eb540a762edce4adbd5077f9527e26d8ae
      https://github.com/openvswitch/ovs/commit/97b089eb540a762edce4adbd5077f9527e26d8ae
  Author: Justin Pettit <jpettit at ovn.org>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M tutorial/ovs-sandbox

  Log Message:
  -----------
  ovs-sandbox: Fix ovs-appctl for ovn-northd and ovn-controller.

Commits 1e8eeb66db2e7 ("ovs-sandbox: Support starting multiple
ovn-northds.") and 047458de40391 ("ovs-sandbox: Add option to support
multiple ovn-controllers.") allowed starting multiple instances of
ovn-northd and ovn-controller, respectively.  It did this by assigning a
sequence number to to the pidfile name.  Unfortunately, this breaks the
method ovs-appctl uses to determine to which process it should connect.
This commit changes the behavior so that a sequence number is not added
to the first instance, so ovs-appctl will connect to that be default.

This commit also uses the same convention for naming the log file.

Signed-off-by: Justin Pettit <jpettit at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/6433e2c7fb94...97b089eb540a
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list