diff options
Diffstat (limited to 'templates/interfaces/tunnel')
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/interfaces/tunnel/node.tag/encapsulation/node.def b/templates/interfaces/tunnel/node.tag/encapsulation/node.def index 02d579a9..6b97b190 100644 --- a/templates/interfaces/tunnel/node.tag/encapsulation/node.def +++ b/templates/interfaces/tunnel/node.tag/encapsulation/node.def @@ -1,5 +1,5 @@ type: txt -help: Set the encapsulation of this tunnel interface +help: Set the encapsulation of this tunnel interface [REQUIRED] syntax:expression: $VAR(@) in "ipip", "gre", "sit"; "Must be (ipip, gre, sit)" diff --git a/templates/interfaces/tunnel/node.tag/local-ip/node.def b/templates/interfaces/tunnel/node.tag/local-ip/node.def index 6e88e72d..425a8a57 100644 --- a/templates/interfaces/tunnel/node.tag/local-ip/node.def +++ b/templates/interfaces/tunnel/node.tag/local-ip/node.def @@ -1,5 +1,5 @@ type: ipv4 -help: Set the local IP address for this tunnel +help: Set the local IP address for this tunnel [REQUIRED] syntax:expression: exec \ "if [ -z \"`ip addr list | grep $VAR(@) `\" ]; then \ diff --git a/templates/interfaces/tunnel/node.tag/remote-ip/node.def b/templates/interfaces/tunnel/node.tag/remote-ip/node.def index e8bb2ef0..6468f5fc 100644 --- a/templates/interfaces/tunnel/node.tag/remote-ip/node.def +++ b/templates/interfaces/tunnel/node.tag/remote-ip/node.def @@ -1,5 +1,5 @@ type: ipv4 -help: Set the remote IP address for this tunnel +help: Set the remote IP address for this tunnel [REQUIRED] create:expression: "true" update:expression: "false" ; \ "Remote IP can only be set at tunnel creation for $VAR(../@)" |