Add check-datapath to weaveutil
The utility is used to check whether a datapath can be created.
This commit is contained in:
1 parent
b00e7d088e
commit
24d9a00f47
3 files changed
+15
-2
No files matched your search
@@ -639,8 +639,7 @@ create_bridge() {
|
||||
else
|
||||
if [ -n "$LAUNCHING_ROUTER" ] ; then
|
||||
if [ "$BRIDGE_TYPE" = bridge -a -z "$WEAVE_NO_FASTDP" ] &&
|
||||
util_op create-datapath $DATAPATH 2>/dev/null &&
|
||||
util_op delete-datapath $DATAPATH 2>/dev/null ; then
|
||||
util_op check-datapath $DATAPATH 2>/dev/null ; then
|
||||
cat <<EOF >&2
|
||||
WEAVE_NO_FASTDP is not set, but there is already a bridge present of
|
||||
the wrong type for fast datapath. Please do 'weave reset' to remove
|
||||
|
||||
Reference in new issue
Block a user