From ab587ce0c92b5aeeb26eb678946a7e1faa6f9db1 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Wed, 12 May 2010 18:38:48 -0700
Subject: Better version of SNMP IPv6 support

Need to use different syntax for community values on IPv6
versus IPv4
---
 templates/service/snmp/community6/node.def | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 templates/service/snmp/community6/node.def

(limited to 'templates/service/snmp/community6/node.def')

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 %"
-- 
cgit v1.2.3

