From efc366d3baf0161ab736a44cfabf00dd38905d9e Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Sun, 1 Nov 2009 10:05:21 -0800 Subject: Add priority for bonding vrrp nodes. --- templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/node.def | 2 ++ templates/interfaces/bonding/node.tag/vrrp/node.def | 2 ++ 2 files changed, 4 insertions(+) (limited to 'templates') diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/node.def index f90c20db..47aceb53 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/node.def @@ -1,3 +1,5 @@ help: Configure Virtual Router Redundancy Protocol (VRRP) parameters +priority: 800 + end:expression: "sudo /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action update --intf $VAR(../../@).$VAR(../@) " diff --git a/templates/interfaces/bonding/node.tag/vrrp/node.def b/templates/interfaces/bonding/node.tag/vrrp/node.def index fc9bd82e..adeb0564 100644 --- a/templates/interfaces/bonding/node.tag/vrrp/node.def +++ b/templates/interfaces/bonding/node.tag/vrrp/node.def @@ -1,3 +1,5 @@ help: Configure Virtual Router Redundancy Protocol (VRRP) +priority: 800 + end:expression: "sudo /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action update --intf $VAR(../@) " -- cgit v1.2.3