summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-04-02 15:02:34 -0700
committerrbalocca <rbalocca@vyatta.com>2008-04-02 15:02:34 -0700
commit3b32db929c686de665bfb070409b1ff0d6b5288c (patch)
treeac24ab4a860ed69911b5d5c37bc02356428f4ba7 /templates
parente454ea809bbabbc1259faea0d211b5f669e9bb4a (diff)
parent94d79ea2e51b31874b70f808beb8124c3537c974 (diff)
downloadvyatta-cfg-system-3b32db929c686de665bfb070409b1ff0d6b5288c.tar.gz
vyatta-cfg-system-3b32db929c686de665bfb070409b1ff0d6b5288c.zip
Merge branch 'glendale' into hollywood
Conflicts: debian/control
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def4
-rw-r--r--templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def4
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def
index 516d6add..3b1cf6a6 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def
@@ -1,3 +1,7 @@
multi:
type: ipv4
help: Configure virtual address
+
+create: sudo /opt/vyatta/sbin/vyatta-watchlink-exclude.pl --id=vrrp --action=add --intf="$VAR(../../../../@).$VAR(../../../@)" --ipadd=$VAR(@) --signal
+
+delete: sudo /opt/vyatta/sbin/vyatta-watchlink-exclude.pl --id=vrrp --action=remove --intf="$VAR(../../../../@).$VAR(../../../@)" --ipadd=$VAR(@) --signal
diff --git a/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def b/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def
index 516d6add..d66d4d60 100644
--- a/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def
+++ b/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def
@@ -1,3 +1,7 @@
multi:
type: ipv4
help: Configure virtual address
+
+create: sudo /opt/vyatta/sbin/vyatta-watchlink-exclude.pl --id=vrrp --action=add --intf=$VAR(../../../@) --ipadd=$VAR(@) --signal
+
+delete: sudo /opt/vyatta/sbin/vyatta-watchlink-exclude.pl --id=vrrp --action=remove --intf=$VAR(../../../@) --ipadd=$VAR(@) --signal