From ecbc1cb9506e816658cf6d8715cf00b65e75cd9e Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 31 Dec 2018 20:04:29 +0100 Subject: T1043: fail commit when multicast VXLAN is configured without the link option. --- templates/interfaces/vxlan/node.def | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/interfaces/vxlan/node.def b/templates/interfaces/vxlan/node.def index e8b625e1..70deef60 100644 --- a/templates/interfaces/vxlan/node.def +++ b/templates/interfaces/vxlan/node.def @@ -29,6 +29,10 @@ create: if [ ! $VAR(./group/) == "" ]; then VXLAN_GROUP="group $VAR(./group/@)" + if [ -z "$VXLAN_DEV" ]; then + echo "For multicast VXLAN, link (network interface) must be configured" + exit 1 + fi fi if [ ! $VAR(./remote/) == "" ]; then -- cgit v1.2.3