diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-18 15:59:07 -0700 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-18 15:59:07 -0700 |
commit | 4e2574e6907291df4e87c795dcbdd8111036e3de (patch) | |
tree | 6436d8af1c3e5c36324bea4cb2d4f1d364657932 /templates/policy/prefix-list | |
parent | 4158c20355825cd0d8505f1307c2756877225f9f (diff) | |
download | vyatta-cfg-quagga-4e2574e6907291df4e87c795dcbdd8111036e3de.tar.gz vyatta-cfg-quagga-4e2574e6907291df4e87c795dcbdd8111036e3de.zip |
finish help strings for policy
Diffstat (limited to 'templates/policy/prefix-list')
-rw-r--r-- | templates/policy/prefix-list/node.def | 2 | ||||
-rw-r--r-- | templates/policy/prefix-list/node.tag/rule/node.def | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/policy/prefix-list/node.def b/templates/policy/prefix-list/node.def index eec6608e..1680a287 100644 --- a/templates/policy/prefix-list/node.def +++ b/templates/policy/prefix-list/node.def @@ -1,5 +1,5 @@ tag: type: txt help: IP prefix-list filter -comp_help: \1 <txt> prefix-list list name +comp_help: \1 <txt>\tprefix-list list name syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "prefix-list name must be alpha-numeric" diff --git a/templates/policy/prefix-list/node.tag/rule/node.def b/templates/policy/prefix-list/node.tag/rule/node.def index 4813f596..f68dce7e 100644 --- a/templates/policy/prefix-list/node.tag/rule/node.def +++ b/templates/policy/prefix-list/node.tag/rule/node.def @@ -2,6 +2,7 @@ tag: type: u32 help: create a rule for this prefix-list comp_help: \1 <1-65535>\tprefix-list rule number +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "rule number must be between 1 and 65535" commit:expression: $VAR(./prefix/) != ""; "policy prefix-list $VAR(../@) rule $VAR(@): You must specify a prefix" commit:expression: $VAR(./action/) != ""; "policy prefix-list $VAR(../@) rule $VAR(@): You must specify an action" delete: touch /tmp/protocols-$VAR(../@)-$VAR(@).$PPID ; |