diff options
author | Robert Bays <rbays@moresby.(none)> | 2007-11-07 16:25:22 -0800 |
---|---|---|
committer | Robert Bays <rbays@moresby.(none)> | 2007-11-07 16:25:22 -0800 |
commit | df9e4971d68a6791e3fd498a5d4ae1c57661f80e (patch) | |
tree | 8d16559f5e147164f26270aa7118c9226dd04b9c /templates/policy | |
parent | 4c2116c9cd2b52e1a29c88f62376a450a0e3a231 (diff) | |
download | vyatta-cfg-quagga-df9e4971d68a6791e3fd498a5d4ae1c57661f80e.tar.gz vyatta-cfg-quagga-df9e4971d68a6791e3fd498a5d4ae1c57661f80e.zip |
remove old style type config from bgp and policy templates
Diffstat (limited to 'templates/policy')
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/policy/prefix-list/node.tag/rule/node.def b/templates/policy/prefix-list/node.tag/rule/node.def index 55c1e70c..12a6bfb3 100644 --- a/templates/policy/prefix-list/node.tag/rule/node.def +++ b/templates/policy/prefix-list/node.tag/rule/node.def @@ -1,5 +1,5 @@ tag: -type: u32; "prefix-list rule number must be an integer" +type: u32 help: "Specify prefix-list rule number" delete: "touch /tmp/protocols-$(../@)-$(@).\\$PPID \ LEN=`echo $(@) | awk -F/ '{ print \\$2 }'` ; \ diff --git a/templates/policy/prefix-list/node.tag/rule/node.tag/prefix/node.def b/templates/policy/prefix-list/node.tag/rule/node.tag/prefix/node.def index 089e6dd6..5da0b4f5 100644 --- a/templates/policy/prefix-list/node.tag/rule/node.tag/prefix/node.def +++ b/templates/policy/prefix-list/node.tag/rule/node.tag/prefix/node.def @@ -1,2 +1,2 @@ -type: ipv4net; "prefix-list $(../../@) rule $(../@) prefix: must be an IPv4 prefix" +type: ipv4net help: "Prefix to match against this rule" diff --git a/templates/policy/route-map/node.tag/rule/node.tag/match/metric/node.def b/templates/policy/route-map/node.tag/rule/node.tag/match/metric/node.def index dafc37e2..db104da3 100644 --- a/templates/policy/route-map/node.tag/rule/node.tag/match/metric/node.def +++ b/templates/policy/route-map/node.tag/rule/node.tag/match/metric/node.def @@ -1,4 +1,4 @@ -type: u32; "route-map $(../../../@) $(../../action/@) $(../../@) metric: must be an integer" +type: u32 help: "Match metric of route" commit: $(../../action/@) != ""; "You must specify an action for route-map $(../../../@) rule $(../../@)" create: "/usr/bin/vtysh -c \"configure terminal\" \ diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/as-path-prepend/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/as-path-prepend/node.def index 5f18167a..9691282e 100644 --- a/templates/policy/route-map/node.tag/rule/node.tag/set/as-path-prepend/node.def +++ b/templates/policy/route-map/node.tag/rule/node.tag/set/as-path-prepend/node.def @@ -1,4 +1,4 @@ -type: txt; +type: txt help: "Prepend string for a BGP AS-path attribute" commit: $(../../action/@) != ""; "You must specify an action for route-map $(../../../@) rule $(../../@)" create: "/usr/bin/vtysh -c \"configure terminal\" \ |