diff options
author | Michael Larson <mike@vyatta.com> | 2011-05-13 15:24:09 -0700 |
---|---|---|
committer | Michael Larson <mike@vyatta.com> | 2011-05-13 15:24:09 -0700 |
commit | 0e5902eae976a88d71a27c7279aba33698627188 (patch) | |
tree | 7e2405125ccf80262d39903198fde64f05de2590 /templates-cfg/cluster | |
parent | bc3974e7e4a70c9e119ba556560f15230f5334ad (diff) | |
download | vyatta-cluster-0e5902eae976a88d71a27c7279aba33698627188.tar.gz vyatta-cluster-0e5902eae976a88d71a27c7279aba33698627188.zip |
fix for 6107. added val_help for correct u32 range.
Diffstat (limited to 'templates-cfg/cluster')
-rw-r--r-- | templates-cfg/cluster/dead-interval/node.def | 2 | ||||
-rw-r--r-- | templates-cfg/cluster/monitor-dead-interval/node.def | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/templates-cfg/cluster/dead-interval/node.def b/templates-cfg/cluster/dead-interval/node.def index d01cd8a..5a89646 100644 --- a/templates-cfg/cluster/dead-interval/node.def +++ b/templates-cfg/cluster/dead-interval/node.def @@ -1,3 +1,5 @@ type: u32 help: Interval after which a node is considered dead after missing heartbeats (milliseconds) +val_help: u32: 1-29999; Interval after which a node is considered dead after missing heartbeats (milliseconds) +syntax:expression: ($VAR(@) >= 1 && $VAR(@) < 30000) ; "Value must be between 1 and 29,999" default: 20000 diff --git a/templates-cfg/cluster/monitor-dead-interval/node.def b/templates-cfg/cluster/monitor-dead-interval/node.def index 6b50574..907c6ff 100644 --- a/templates-cfg/cluster/monitor-dead-interval/node.def +++ b/templates-cfg/cluster/monitor-dead-interval/node.def @@ -1,3 +1,5 @@ type: u32 help: Interval after which a monitor node is considered dead (milliseconds) +val_help: u32: 1-29999; Interval after which a monitor node is considered dead (milliseconds) +syntax:expression: ($VAR(@) >= 1 && $VAR(@) < 30000) ; "Value must be between 1 and 29,999" default: 20000 |