diff options
author | Aaron Conole <aconole@redhat.com> | 2016-05-20 10:50:46 -0400 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-05-20 07:58:17 -0700 |
commit | 0cfd47f9dcc3914db8d266ed834d6e2c8fc1a11d (patch) | |
tree | 7169b9fe00d6f5f87fdb03dfde9a0ecb07d5bf22 /tests/test-ovsdb.py | |
parent | af51e6f0156eb82e2e2a7f0ba369c0e4cbfb6853 (diff) | |
download | openvswitch-0cfd47f9dcc3914db8d266ed834d6e2c8fc1a11d.tar.gz |
utilities/ovs-ctl.in: Only add_managers with vswitchd
The ovs-ctl script was changed recently to have per-service start/stop
control. However, when that change was made the add_managers() call was
overlooked. This results in calls to `ovs-ctl --no-ovs-vswitchd start`
telling the ovsdb-server to connect to the remote controllers.
The fix presented will defer signaling to remote managers until the
following are both true:
1. At least one of OVSDB_SERVER or OVS_VSWITCHD was told to start
2. Both daemons are running.
Fixes: 7fc28c50c012 ("ovs-ctl: Allow selective start for db and switch")
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/test-ovsdb.py')
0 files changed, 0 insertions, 0 deletions