summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 13:55:27 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 13:55:27 -0700
commit1b2b777227ed2645c68b5ab05931beafff9ccf5d (patch)
treede961de899568c935cd357150915576c8c2d49c8 /templates/interfaces/tunnel
parent79f2a3d43c3f7726d0771e9d3770471776c8b360 (diff)
downloadvyatta-cfg-system-1b2b777227ed2645c68b5ab05931beafff9ccf5d.tar.gz
vyatta-cfg-system-1b2b777227ed2645c68b5ab05931beafff9ccf5d.zip
Add completion for text fields with limited values
For all nodes that do 'syntax:expression: $VAR(@) in' add allowed tag to show possible values
Diffstat (limited to 'templates/interfaces/tunnel')
-rw-r--r--templates/interfaces/tunnel/node.tag/encapsulation/node.def1
-rw-r--r--templates/interfaces/tunnel/node.tag/multicast/node.def1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/interfaces/tunnel/node.tag/encapsulation/node.def b/templates/interfaces/tunnel/node.tag/encapsulation/node.def
index edbc3ae1..651e79b8 100644
--- a/templates/interfaces/tunnel/node.tag/encapsulation/node.def
+++ b/templates/interfaces/tunnel/node.tag/encapsulation/node.def
@@ -2,6 +2,7 @@ type: txt
help: Encapsulation of this tunnel interface [REQUIRED]
syntax:expression: $VAR(@) in "ipip", "gre", "sit", "gre-bridge"; "Must be (ipip, gre, gre-bridge, sit)"
+allowed: echo gre gre-bridge ipip sit
create:expression: "true"
update:expression: "false" ; \
diff --git a/templates/interfaces/tunnel/node.tag/multicast/node.def b/templates/interfaces/tunnel/node.tag/multicast/node.def
index 911a4e88..9f675b0e 100644
--- a/templates/interfaces/tunnel/node.tag/multicast/node.def
+++ b/templates/interfaces/tunnel/node.tag/multicast/node.def
@@ -3,6 +3,7 @@ help: Multicast operation over tunnel
default: "disable"
val_help: enable; Enable Multicast
val_help: disable; Disable Multicast (default)
+allowed: echo enable disable
syntax:expression: $VAR(@) in "enable", "disable"; \
"Must be 'disable' or 'enable'"