summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-19 13:17:59 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-19 13:17:59 -0700
commit93105314fda4cefdbb5d107c477f68310d8cd959 (patch)
tree5cbcc8ff5a90873aec290467e5fd0d25b3186243 /templates
parent6677afef234cfa0b68b88fd94c6ac4b158b6e4b2 (diff)
downloadvyatta-cfg-system-93105314fda4cefdbb5d107c477f68310d8cd959.tar.gz
vyatta-cfg-system-93105314fda4cefdbb5d107c477f68310d8cd959.zip
Convert VRRP preempt to bool
This value can only be "true" or "false"; it should be bool type.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def10
-rw-r--r--templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def8
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def10
-rw-r--r--templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def8
4 files changed, 10 insertions, 26 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
index e1e5aa96..baa3aee9 100644
--- a/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
+++ b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
@@ -1,7 +1,3 @@
-type: txt
-help: Preempt mode(default: true)
-default: "true"
-syntax:expression: $VAR(@) in "true", "false"; "preempt must be true or false"
-comp_help: possible completions:
- true (default)
- false
+type: bool
+help: Preempt mode
+default: true
diff --git a/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def b/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
index c3dc66cd..baa3aee9 100644
--- a/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
+++ b/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
@@ -1,7 +1,3 @@
-type: txt
+type: bool
help: Preempt mode
-default: "true"
-syntax:expression: $VAR(@) in "true", "false"; "preempt must be true or false"
-comp_help: possible completions:
- true (default)
- false
+default: true
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
index e1e5aa96..baa3aee9 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
@@ -1,7 +1,3 @@
-type: txt
-help: Preempt mode(default: true)
-default: "true"
-syntax:expression: $VAR(@) in "true", "false"; "preempt must be true or false"
-comp_help: possible completions:
- true (default)
- false
+type: bool
+help: Preempt mode
+default: true
diff --git a/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def b/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
index c3dc66cd..baa3aee9 100644
--- a/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
+++ b/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def
@@ -1,7 +1,3 @@
-type: txt
+type: bool
help: Preempt mode
-default: "true"
-syntax:expression: $VAR(@) in "true", "false"; "preempt must be true or false"
-comp_help: possible completions:
- true (default)
- false
+default: true