From 93105314fda4cefdbb5d107c477f68310d8cd959 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 19 Jul 2010 13:17:59 -0700 Subject: Convert VRRP preempt to bool This value can only be "true" or "false"; it should be bool type. --- .../vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def | 10 +++------- .../bonding/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def | 8 ++------ .../vif/node.tag/vrrp/vrrp-group/node.tag/preempt/node.def | 10 +++------- .../node.tag/vrrp/vrrp-group/node.tag/preempt/node.def | 8 ++------ 4 files changed, 10 insertions(+), 26 deletions(-) (limited to 'templates') 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 -- cgit v1.2.3