From baa0d50c299c06ad5027f730d7a63e8eec6bef43 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 21 Jul 2010 12:07:29 -0700 Subject: Convert Quagga templates to use val_help: --- templates/policy/as-path-list/node.def | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/policy/as-path-list/node.def') 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 \t\tas-path-list name + -- cgit v1.2.3