@@ -10,3 +10,7 @@
# DPDK options - see /usr/share/doc/openvswitch-common/INSTALL.DPDK.md.gz
# these are passed to ovs-vswitchd obeying to the positional requirements
# DPDK_OPTS='--dpdk -vhost_sock_dir /var/run/openvswitch-vhost -c 0x1 -n 4'
+
+# OVS_VSWITCHD_OPTS: Extra options to pass to ovs-vswitchd.
+# This is, for example, a suitable place to specify verbosity options
+# OVS_VSWITCHD_OPTS=
@@ -224,6 +224,9 @@ start_forwarding () {
if test X"$MLOCKALL" != Xno; then
set "$@" --mlockall
fi
+ if test X"$OVS_VSWITCHD_OPTS" != X; then
+ set "$@" $OVS_VSWITCHD_OPTS
+ fi
start_daemon "$OVS_VSWITCHD_PRIORITY" "$OVS_VSWITCHD_WRAPPER" "$@"
fi
}