diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 12:07:29 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 12:07:29 -0700 |
commit | baa0d50c299c06ad5027f730d7a63e8eec6bef43 (patch) | |
tree | 4cd709395e5e23d69990f93ac27b5095e0d509a5 /templates/protocols/ripng | |
parent | 69c3c53afee2f975b5c631d19dfd150caaf4b861 (diff) | |
download | vyatta-cfg-quagga-baa0d50c299c06ad5027f730d7a63e8eec6bef43.tar.gz vyatta-cfg-quagga-baa0d50c299c06ad5027f730d7a63e8eec6bef43.zip |
Convert Quagga templates to use val_help:
Diffstat (limited to 'templates/protocols/ripng')
9 files changed, 14 insertions, 13 deletions
diff --git a/templates/protocols/ripng/default-metric/node.def b/templates/protocols/ripng/default-metric/node.def index fc546c03..380a3a30 100644 --- a/templates/protocols/ripng/default-metric/node.def +++ b/templates/protocols/ripng/default-metric/node.def @@ -1,6 +1,7 @@ type: u32 help: Set metric of redistributed routes syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "Must be between 1-16" +val_help: u32:1-16; Default metric update: vtysh -c "configure terminal" \ -c "router ripng" \ @@ -10,4 +11,3 @@ delete: vtysh -c "configure terminal" \ -c "router ripng" \ -c "no default-metric $VAR(@)" -comp_help <1-16> Default metric diff --git a/templates/protocols/ripng/redistribute/bgp/metric/node.def b/templates/protocols/ripng/redistribute/bgp/metric/node.def index 6c402ef0..4e2fee24 100644 --- a/templates/protocols/ripng/redistribute/bgp/metric/node.def +++ b/templates/protocols/ripng/redistribute/bgp/metric/node.def @@ -1,4 +1,6 @@ type: u32 help: Set metric for redistributed routes +val_help: u32:1-16; Redistribute route metric + syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; \ "metric must be between 1 and 16" diff --git a/templates/protocols/ripng/redistribute/connected/metric/node.def b/templates/protocols/ripng/redistribute/connected/metric/node.def index 101e24f9..e2c104a6 100644 --- a/templates/protocols/ripng/redistribute/connected/metric/node.def +++ b/templates/protocols/ripng/redistribute/connected/metric/node.def @@ -1,6 +1,5 @@ type: u32 help: Set metric for redistributed routes -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" - - +val_help: u32:1-16; Redistribute route metric +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" diff --git a/templates/protocols/ripng/redistribute/kernel/metric/node.def b/templates/protocols/ripng/redistribute/kernel/metric/node.def index ad569327..e2c104a6 100644 --- a/templates/protocols/ripng/redistribute/kernel/metric/node.def +++ b/templates/protocols/ripng/redistribute/kernel/metric/node.def @@ -1,3 +1,5 @@ type: u32 help: Set metric for redistributed routes +val_help: u32:1-16; Redistribute route metric + syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" diff --git a/templates/protocols/ripng/redistribute/ospfv3/metric/node.def b/templates/protocols/ripng/redistribute/ospfv3/metric/node.def index 6ed582ad..8d752e7d 100644 --- a/templates/protocols/ripng/redistribute/ospfv3/metric/node.def +++ b/templates/protocols/ripng/redistribute/ospfv3/metric/node.def @@ -1,4 +1,6 @@ type: u32 help: Set metric for redistributed routes +val_help: u32:1-16; Redistribute route metric + syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" diff --git a/templates/protocols/ripng/redistribute/static/metric/node.def b/templates/protocols/ripng/redistribute/static/metric/node.def index ad569327..e2c104a6 100644 --- a/templates/protocols/ripng/redistribute/static/metric/node.def +++ b/templates/protocols/ripng/redistribute/static/metric/node.def @@ -1,3 +1,5 @@ type: u32 help: Set metric for redistributed routes +val_help: u32:1-16; Redistribute route metric + syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" diff --git a/templates/protocols/ripng/timers/garbage-collection/node.def b/templates/protocols/ripng/timers/garbage-collection/node.def index c7d3f8ed..090ea8f3 100644 --- a/templates/protocols/ripng/timers/garbage-collection/node.def +++ b/templates/protocols/ripng/timers/garbage-collection/node.def @@ -1,9 +1,7 @@ type: u32 default: 120 help: Set garbage collection timer +val_help: u32:0-65535; Garbage colletion time (default 120) syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 65535; \ "Garbage collection timer must be between 0 and 65535" - -comp_help: possible completions: - <0-65535> Garbage colletion time (default 120) diff --git a/templates/protocols/ripng/timers/timeout/node.def b/templates/protocols/ripng/timers/timeout/node.def index 11efdc0b..74b292d2 100644 --- a/templates/protocols/ripng/timers/timeout/node.def +++ b/templates/protocols/ripng/timers/timeout/node.def @@ -1,9 +1,7 @@ type: u32 default: 180 help: Set routing information timeout timer +val_help: u32:0-65535; Routing information timeout timer (default 180) syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 65535; \ "Timeout timer must be between 0 and 65535" - -comp_help: possible completions: - <0-65535> Routing information timeout timer (default 180) diff --git a/templates/protocols/ripng/timers/update/node.def b/templates/protocols/ripng/timers/update/node.def index 1f06eb5b..16a0c62d 100644 --- a/templates/protocols/ripng/timers/update/node.def +++ b/templates/protocols/ripng/timers/update/node.def @@ -1,9 +1,7 @@ type: u32 default: 30 help: Set routing table update timer +val_help: u32:0-65535; Routing table update timer in seconds (default 30) syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 65535; \ "Update timer must be between 0 and 65535" - -comp_help: possible completions: - <0-65535> Routing table update timer in seconds (default 30) |