diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 13:17:59 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 13:17:59 -0700 |
commit | 93105314fda4cefdbb5d107c477f68310d8cd959 (patch) | |
tree | 5cbcc8ff5a90873aec290467e5fd0d25b3186243 /templates | |
parent | 6677afef234cfa0b68b88fd94c6ac4b158b6e4b2 (diff) | |
download | vyatta-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')
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 |