diff options
Diffstat (limited to 'templates/service/snmp/community6')
4 files changed, 19 insertions, 0 deletions
diff --git a/templates/service/snmp/community6/node.def b/templates/service/snmp/community6/node.def new file mode 100644 index 00000000..32eb4800 --- /dev/null +++ b/templates/service/snmp/community6/node.def @@ -0,0 +1,5 @@ +tag: +type: txt +help: Set community name [REQUIRED] +syntax:expression: pattern $VAR(@) "^[^%]+$" ; \ + "Community string may not contain %" diff --git a/templates/service/snmp/community6/node.tag/authorization/node.def b/templates/service/snmp/community6/node.tag/authorization/node.def new file mode 100644 index 00000000..c8918d43 --- /dev/null +++ b/templates/service/snmp/community6/node.tag/authorization/node.def @@ -0,0 +1,7 @@ +type: txt +default: "ro" +help: Set authorization type (rw or ro) (default: ro) +syntax:expression: $VAR(@) in "ro", "rw"; "Authorization type must be either rw or ro" + + + diff --git a/templates/service/snmp/community6/node.tag/client/node.def b/templates/service/snmp/community6/node.tag/client/node.def new file mode 100644 index 00000000..fddbcb91 --- /dev/null +++ b/templates/service/snmp/community6/node.tag/client/node.def @@ -0,0 +1,3 @@ +multi: +type: ipv6 +help: Set IPv6 address of SNMP client allowed to contact system diff --git a/templates/service/snmp/community6/node.tag/network/node.def b/templates/service/snmp/community6/node.tag/network/node.def new file mode 100644 index 00000000..266a1bce --- /dev/null +++ b/templates/service/snmp/community6/node.tag/network/node.def @@ -0,0 +1,4 @@ +multi: +type: ipv6net +help: Set subnet of SNMP client(s) allowed to contact system +syntax:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $VAR(@)" |