From 732f072d22e3e75f7fc8c0b5b6c601a81c0c88ae Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 7 Jan 2010 17:21:23 -0800 Subject: Add support for trap community and port Bug 3756 Allow setting trap communities and port values. --- templates/service/snmp/trap-target/node.def | 2 +- templates/service/snmp/trap-target/node.tag/community/node.def | 2 ++ templates/service/snmp/trap-target/node.tag/port/node.def | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 templates/service/snmp/trap-target/node.tag/community/node.def create mode 100644 templates/service/snmp/trap-target/node.tag/port/node.def (limited to 'templates') 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 -- cgit v1.2.3