summaryrefslogtreecommitdiff
path: root/templates/policy/as-path-list/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/policy/as-path-list/node.def')
-rw-r--r--templates/policy/as-path-list/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/policy/as-path-list/node.def b/templates/policy/as-path-list/node.def
new file mode 100644
index 00000000..04ba5e7b
--- /dev/null
+++ b/templates/policy/as-path-list/node.def
@@ -0,0 +1,5 @@
+tag:
+type: txt
+help: "BGP autonomous system path filter"
+syntax: pattern $(@) "^[-a-zA-Z0-9.]+$" ; "as-path-list name must be alpha-numeric"
+end: "/opt/vyatta/sbin/vyatta_policy.pl --update-aspath-list $(@)"