diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-17 23:04:11 -0700 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-17 23:04:11 -0700 |
commit | 775e849022773e681f6e975e04949d3930cde94d (patch) | |
tree | 259c82007910dfe5da899a3d8dc9094a1122dbdf /templates/policy/as-path-list | |
parent | 298958d7617b8fea64e1fe658458e631c4f49f48 (diff) | |
download | vyatta-cfg-quagga-775e849022773e681f6e975e04949d3930cde94d.tar.gz vyatta-cfg-quagga-775e849022773e681f6e975e04949d3930cde94d.zip |
iupdate help strings for policy nodes
Diffstat (limited to 'templates/policy/as-path-list')
6 files changed, 13 insertions, 7 deletions
diff --git a/templates/policy/as-path-list/node.def b/templates/policy/as-path-list/node.def index bda7042e..21285cc4 100644 --- a/templates/policy/as-path-list/node.def +++ b/templates/policy/as-path-list/node.def @@ -2,4 +2,5 @@ tag: type: txt help: BGP autonomous system path filter syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "as-path-list name must be alpha-numeric" -end:expression: "/opt/vyatta/sbin/vyatta-policy.pl --update-aspath-list $VAR(@)" +end: /opt/vyatta/sbin/vyatta-policy.pl --update-aspath-list $VAR(@) +comp_help: \1 <txt>\t\tas-path-list name diff --git a/templates/policy/as-path-list/node.tag/description/node.def b/templates/policy/as-path-list/node.tag/description/node.def index b45a1767..6790c1bd 100644 --- a/templates/policy/as-path-list/node.tag/description/node.def +++ b/templates/policy/as-path-list/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: AS path list description +help: set a description for this as-path-list diff --git a/templates/policy/as-path-list/node.tag/rule/node.def b/templates/policy/as-path-list/node.tag/rule/node.def index adac0477..d3fbcfcc 100644 --- a/templates/policy/as-path-list/node.tag/rule/node.def +++ b/templates/policy/as-path-list/node.tag/rule/node.def @@ -1,4 +1,6 @@ tag: type: u32 -help: Specify as-path-list rule number +help: create a rule for this as-path-list +comp_help: \1 <1-65535>\tas-path-list rule number syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "rule number must be between 1 and 65535" + diff --git a/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def b/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def index 1b7787c5..437cb686 100644 --- a/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def +++ b/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def @@ -1,3 +1,5 @@ type: txt -help: Action to take on AS paths matching this rule +help: action to take on AS paths matching this rule +comp_help: \1 permit\tpermit matching as-paths + deny\t\tdeny matching as-paths syntax:expression: $VAR(@) in "permit", "deny"; "action must be permit or deny" diff --git a/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def b/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def index b8e3095b..562ab020 100644 --- a/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def +++ b/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: Description for this rule +help: set a description for this rule diff --git a/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def b/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def index e84579d8..6afc2c35 100644 --- a/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def +++ b/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def @@ -1,5 +1,6 @@ type: txt -help: AS path regular expression +help: match against an AS path regular expression +comp_help: \1 <txt>\t\tas-path regular expression # TODO: check regex syntax; \ # "invalid chars in regex syntax" -commit:expression: $VAR(../action/@) != ""; "You must specify an action before committing" +commit:expression: $VAR(../action/@) != ""; "policy as-path-list $VAR(../../@) rule $VAR(../@): You must specify an action" |