mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
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@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>