'weave --local create-bridge' is not compatible with fastdp

This commit is contained in:
David Wragg committed 2015-10-20 16:34:50 +01:00
1 parent 5ff740cddc
commit 5120b4b468
1 file changed
+10
+10
View File
@@ -1635,6 +1635,16 @@ case "$COMMAND" in
# intentionally undocumented since it assumes knowledge of weave
# internals
create-bridge)
# This subcommand may be run without the docker daemon, but
# fastdp needs to run the router container to setup the ODP
# bridge, hence:
if [ -z "$WEAVE_NO_FASTDP" ] ; then
cat 1>&2 <<EOF
'weave create-bridge' is not compatible with fast data path. Please set
the WEAVE_NO_FASTDP environment variable.
EOF
exit 1
fi
create_bridge --without-ethtool
;;
launch)