summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-07 17:21:23 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-07 17:44:28 -0800
commit732f072d22e3e75f7fc8c0b5b6c601a81c0c88ae (patch)
treeaea863442322d9ca7de5014ec213611eb8df8a6a /templates
parent94fff914186c80b5d310fc9296d83726e5de1f29 (diff)
downloadvyatta-cfg-system-732f072d22e3e75f7fc8c0b5b6c601a81c0c88ae.tar.gz
vyatta-cfg-system-732f072d22e3e75f7fc8c0b5b6c601a81c0c88ae.zip
Add support for trap community and port
Bug 3756 Allow setting trap communities and port values.
Diffstat (limited to 'templates')
-rw-r--r--templates/service/snmp/trap-target/node.def2
-rw-r--r--templates/service/snmp/trap-target/node.tag/community/node.def2
-rw-r--r--templates/service/snmp/trap-target/node.tag/port/node.def2
3 files changed, 5 insertions, 1 deletions
diff --git a/templates/service/snmp/trap-target/node.def b/templates/service/snmp/trap-target/node.def
index c041d108..493484b7 100644
--- a/templates/service/snmp/trap-target/node.def
+++ b/templates/service/snmp/trap-target/node.def
@@ -1,3 +1,3 @@
-multi:
+tag:
type: ipv4
help: Set IP address of trap target
diff --git a/templates/service/snmp/trap-target/node.tag/community/node.def b/templates/service/snmp/trap-target/node.tag/community/node.def
new file mode 100644
index 00000000..dceff369
--- /dev/null
+++ b/templates/service/snmp/trap-target/node.tag/community/node.def
@@ -0,0 +1,2 @@
+type: txt
+help: set community used when sending trap information
diff --git a/templates/service/snmp/trap-target/node.tag/port/node.def b/templates/service/snmp/trap-target/node.tag/port/node.def
new file mode 100644
index 00000000..4a79e794
--- /dev/null
+++ b/templates/service/snmp/trap-target/node.tag/port/node.def
@@ -0,0 +1,2 @@
+type: u32
+help: Set destination port used for trap notification