diff options
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\" \ |