summaryrefslogtreecommitdiff
path: root/templates/service/snmp
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/service/snmp
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/service/snmp')
-rw-r--r--templates/service/snmp/community/node.tag/authorization/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/service/snmp/community/node.tag/authorization/node.def b/templates/service/snmp/community/node.tag/authorization/node.def
index aac6b0b2..3d306d59 100644
--- a/templates/service/snmp/community/node.tag/authorization/node.def
+++ b/templates/service/snmp/community/node.tag/authorization/node.def
@@ -1,5 +1,6 @@
type: txt
default: "ro"
+allowed: echo ro rw
help: Authorization type (rw or ro) (default: ro)
syntax:expression: $VAR(@) in "ro", "rw"; "Authorization type must be either rw or ro"