From 90fee79f793f26a39a05cd8feadb3d15ff3fd13e Mon Sep 17 00:00:00 2001
From: Stig Thormodsrud <stig@vyatta.com>
Date: Mon, 18 Jan 2010 16:22:29 -0800
Subject: Add IPv6 policy access-list.

---
 templates/policy/access-list6/node.def | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 templates/policy/access-list6/node.def

(limited to 'templates/policy/access-list6/node.def')

diff --git a/templates/policy/access-list6/node.def b/templates/policy/access-list6/node.def
new file mode 100644
index 00000000..01a5f90f
--- /dev/null
+++ b/templates/policy/access-list6/node.def
@@ -0,0 +1,17 @@
+tag:
+
+type: txt
+
+help: Set IPv6 access-list filter 
+
+syntax:expression: pattern $VAR(@) "^[[:graph:]]{1,64}$" ; \
+                   "access-list name must be 64 characters or less"
+syntax:expression: pattern $VAR(@) "^[^-]" ; \
+                   "access-list name cannot start with \"-\""
+syntax:expression: pattern $VAR(@) "^[^|;&$<>]*$" ; \
+                   "access-list name cannot contain shell punctuation"
+
+end: /opt/vyatta/sbin/vyatta-policy.pl --update-access-list6 "$VAR(@)"
+
+comp_help: possible completions:
+  <txt>    Set name of ipv6 access-list
-- 
cgit v1.2.3

