diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-11-01 10:05:21 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-11-01 10:05:21 -0800 |
commit | efc366d3baf0161ab736a44cfabf00dd38905d9e (patch) | |
tree | 8b61299ec16c90324b52341afa550505a1c1e673 /templates/interfaces | |
parent | f197d4eebd25f3bcbd0f6b5589ce9370a2f501da (diff) | |
download | vyatta-cfg-system-efc366d3baf0161ab736a44cfabf00dd38905d9e.tar.gz vyatta-cfg-system-efc366d3baf0161ab736a44cfabf00dd38905d9e.zip |
Add priority for bonding vrrp nodes.
Diffstat (limited to 'templates/interfaces')
-rw-r--r-- | templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/node.def | 2 | ||||
-rw-r--r-- | templates/interfaces/bonding/node.tag/vrrp/node.def | 2 |
2 files changed, 4 insertions, 0 deletions
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(../@) " |