Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
'weave --local create-bridge' is not compatible with fastdp
Browse files Browse the repository at this point in the history
  • Loading branch information
dpw committed Oct 20, 2015
1 parent 5ff740c commit f9aecb5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions weave
Original file line number Diff line number Diff line change
Expand Up @@ -1635,6 +1635,16 @@ case "$COMMAND" in
# intentionally undocumented since it assumes knowledge of weave
# internals
create-bridge)
# create-bridge is 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)
Expand Down

0 comments on commit f9aecb5

Please sign in to comment.