summaryrefslogtreecommitdiff
path: root/templates/policy/route-map
diff options
context:
space:
mode:
Diffstat (limited to 'templates/policy/route-map')
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/match/metric/node.def2
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/set/as-path-prepend/node.def2
2 files changed, 2 insertions, 2 deletions
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\" \