From df9e4971d68a6791e3fd498a5d4ae1c57661f80e Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Wed, 7 Nov 2007 16:25:22 -0800 Subject: remove old style type config from bgp and policy templates --- templates/policy/route-map/node.tag/rule/node.tag/match/metric/node.def | 2 +- .../route-map/node.tag/rule/node.tag/set/as-path-prepend/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/policy/route-map') 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\" \ -- cgit v1.2.3