On Tue, Aug 9, 2016 at 9:10 AM, Christian Svensson <christ...@cmd.nu> wrote:
>
> ovs-appctl -t $PWD/my-daemon.$(<my-daemon2.pid).ctl
>

To compromise on the client side:
How would you feel making ovs-appctl and socket_name_from_target look for
both naming schemes?

Psuedo code:
if isfile(target + '.ctl'):
  return target + '.ctl'
elif isfile(target + '.pid'):
  [.. do classical lookup ..]
  return target + pid + '.ctl'

This would have the same benefit of getting rid of the platform dependent
conditionals, but it would obviously open up a small window for confusion.

With this reducing the scope of --disable-pid-socket-path to only affecting
the server socket naming and not client behavior, would that change how you
feel about the complexity of the feature flag?

Thanks,
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to