summaryrefslogtreecommitdiff
path: root/templates/policy/access-list6/node.def
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-01-18 16:22:29 -0800
committerStig Thormodsrud <stig@vyatta.com>2010-01-18 16:22:29 -0800
commit90fee79f793f26a39a05cd8feadb3d15ff3fd13e (patch)
treea0fdd0032f7fa69a40f421e1a332ded11c1197d6 /templates/policy/access-list6/node.def
parent6fcc7325db526924cf21123a9f9ab662a64e490c (diff)
downloadvyatta-cfg-quagga-90fee79f793f26a39a05cd8feadb3d15ff3fd13e.tar.gz
vyatta-cfg-quagga-90fee79f793f26a39a05cd8feadb3d15ff3fd13e.zip
Add IPv6 policy access-list.
Diffstat (limited to 'templates/policy/access-list6/node.def')
-rw-r--r--templates/policy/access-list6/node.def17
1 files changed, 17 insertions, 0 deletions
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