summaryrefslogtreecommitdiff
path: root/templates-cfg/cluster
diff options
context:
space:
mode:
authorMichael Larson <mike@vyatta.com>2011-05-13 15:24:09 -0700
committerMichael Larson <mike@vyatta.com>2011-05-13 15:24:09 -0700
commit0e5902eae976a88d71a27c7279aba33698627188 (patch)
tree7e2405125ccf80262d39903198fde64f05de2590 /templates-cfg/cluster
parentbc3974e7e4a70c9e119ba556560f15230f5334ad (diff)
downloadvyatta-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.def2
-rw-r--r--templates-cfg/cluster/monitor-dead-interval/node.def2
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