summaryrefslogtreecommitdiff
path: root/templates/policy/access-list6/node.def
diff options
context:
space:
mode:
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