4 # Provides: ovn-central
5 # Required-Start: openvswitch-switch $remote_fs $syslog
6 # Required-Stop: $remote_fs
7 # Default-Start: 2 3 4 5
9 # Short-Description: OVN central components
10 # Description: ovn-central provides the userspace daemons,
11 # utilities and databases for OVN that is run at a central
15 test -x /usr/bin/ovn-northd || exit 0
16 test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
18 _SYSTEMCTL_SKIP_REDIRECT=yes
20 . /usr/share/openvswitch/scripts/ovs-lib
21 if [ -e /etc/default/ovn-central ]; then
22 . /etc/default/ovn-central
26 set /usr/share/openvswitch/scripts/ovn-ctl ${1-start_northd}
27 set "$@" $OVN_CTL_OPTS
36 /usr/share/openvswitch/scripts/ovn-ctl stop_northd
41 reload | force-reload)
44 /usr/share/openvswitch/scripts/ovn-ctl status_northd
48 echo "Usage: $0 {start|stop|reload|force-reload|restart|status}" >&2