summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-11-01 10:05:21 -0800
committerStig Thormodsrud <stig@vyatta.com>2009-11-01 10:05:21 -0800
commitefc366d3baf0161ab736a44cfabf00dd38905d9e (patch)
tree8b61299ec16c90324b52341afa550505a1c1e673 /templates/interfaces
parentf197d4eebd25f3bcbd0f6b5589ce9370a2f501da (diff)
downloadvyatta-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.def2
-rw-r--r--templates/interfaces/bonding/node.tag/vrrp/node.def2
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(../@) "