# XenServer 5.5.0 needs ovs-brcompatd and /proc/net simulation.
: ${ENABLE_BRCOMPAT:=y}
: ${ENABLE_FAKE_PROC_NET:=y}
+ : ${ENABLE_XENSERVERD:=y}
else
# Later versions don't need them.
: ${ENABLE_BRCOMPAT:=n}
: ${ENABLE_FAKE_PROC_NET:=n}
+ : ${ENABLE_XENSERVERD:=n}
fi
: ${ENABLE_MONITOR:=y}
: ${FORCE_COREFILES:=y}
if [ "${ENABLE_BRCOMPAT}" = "y" ] ; then
start_brcompatd
fi
- start_xenserverd
+ if [ "${ENABLE_XENSERVERD}" = "y" ] ; then
+ start_xenserverd
+ fi
touch /var/lock/subsys/openvswitch
}
status -p "$VSWITCHD_PIDFILE" ovs-vswitchd &&
(test "$ENABLE_BRCOMPAT" != "y" ||
status -p "$BRCOMPATD_PIDFILE" ovs-brcompatd) &&
- status -p "$XENSERVERD_PIDFILE" ovs-xenserverd
+ (test "$ENABLE_XENSERVERD" != "y" ||
+ status -p "$XENSERVERD_PIDFILE" ovs-xenserverd)
;;
version)
/usr/sbin/ovsdb-server -V
# and not required and not enabled by default for later versions.
# ENABLE_FAKE_PROC_NET=?
+# ENABLE_XENSERVERD: If 'y' then monitor system for changes in pool membership
+# This is required and enabled by default for XenServer 5.5.0,
+# and not required and not enabled by default for later versions.
+# ENABLE_XENSERVERD=?
+
# ENABLE_MONITOR: If 'y' then monitor daemon processes and restart them
# if they die due to an error signal.
# ENABLE_MONITOR=y