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, 4 insertions, 1 deletions
diff --git a/templates/policy/as-path-list/node.def b/templates/policy/as-path-list/node.def
index 3beb59ea..a2713bf1 100644
--- a/templates/policy/as-path-list/node.def
+++ b/templates/policy/as-path-list/node.def
@@ -1,6 +1,9 @@
tag:
type: txt
help: Set Border Gateway Protocol (BGP) autonomous system path filter
+val_help: AS path list name
+
syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "as-path-list name must be alpha-numeric"
+
end: /opt/vyatta/sbin/vyatta-policy.pl --update-aspath-list $VAR(@)
-comp_help: \1 <txt>\t\tas-path-list name
+