summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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(../@) "