summaryrefslogtreecommitdiff
path: root/templates/service
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-11 17:44:21 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-11 17:44:21 -0700
commit5aafb72b269d409500258f0b65f3e635d99712b7 (patch)
treed56cbda2656eae4c6c1fb898ceb516f9d00da09c /templates/service
parent427ab38e9d8144b185e53f29504df36d48277ac4 (diff)
downloadvyatta-cfg-quagga-5aafb72b269d409500258f0b65f3e635d99712b7.tar.gz
vyatta-cfg-quagga-5aafb72b269d409500258f0b65f3e635d99712b7.zip
Snmp Ipv6 support
Simple change to allow ipv6 or ipv4 address in configuration.
Diffstat (limited to 'templates/service')
-rw-r--r--templates/service/snmp/community/node.tag/client/node.def2
-rw-r--r--templates/service/snmp/community/node.tag/network/node.def2
-rw-r--r--templates/service/snmp/trap-source/node.def2
-rw-r--r--templates/service/snmp/trap-target/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/service/snmp/community/node.tag/client/node.def b/templates/service/snmp/community/node.tag/client/node.def
index 828faa97..427a9939 100644
--- a/templates/service/snmp/community/node.tag/client/node.def
+++ b/templates/service/snmp/community/node.tag/client/node.def
@@ -1,3 +1,3 @@
multi:
-type: ipv4
+type: ipv4,ipv6
help: Set IP address of SNMP client allowed to contact system
diff --git a/templates/service/snmp/community/node.tag/network/node.def b/templates/service/snmp/community/node.tag/network/node.def
index 00a77d4b..4b80a51b 100644
--- a/templates/service/snmp/community/node.tag/network/node.def
+++ b/templates/service/snmp/community/node.tag/network/node.def
@@ -1,4 +1,4 @@
multi:
-type: ipv4net
+type: ipv4net,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(@)"
diff --git a/templates/service/snmp/trap-source/node.def b/templates/service/snmp/trap-source/node.def
index d8add72c..61a8cd6a 100644
--- a/templates/service/snmp/trap-source/node.def
+++ b/templates/service/snmp/trap-source/node.def
@@ -1,2 +1,2 @@
-type: ipv4
+type: ipv4,ipv6
help: Set SNMP trap source address
diff --git a/templates/service/snmp/trap-target/node.def b/templates/service/snmp/trap-target/node.def
index 493484b7..cb13f1d6 100644
--- a/templates/service/snmp/trap-target/node.def
+++ b/templates/service/snmp/trap-target/node.def
@@ -1,3 +1,3 @@
tag:
-type: ipv4
+type: ipv4,ipv6
help: Set IP address of trap target