From cbf57a91a35e2520f3aa8bedd0d5aaf5b2c3e1c4 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 31 Mar 2008 18:56:00 -0700 Subject: Add vrrp vip addresses to watchlink exclude file. --- .../vif/node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def | 4 ++++ .../node.tag/vrrp/vrrp-group/node.tag/virtual-address/node.def | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'templates') 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 -- cgit v1.2.3