diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-03-31 18:56:00 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-03-31 18:56:00 -0700 |
commit | cbf57a91a35e2520f3aa8bedd0d5aaf5b2c3e1c4 (patch) | |
tree | a4e3ad5d7626565739c6cc1b92135ed78545609c /templates | |
parent | 4e0f41dd1c43468310b554866a81c92e84e98995 (diff) | |
download | vyatta-cfg-system-cbf57a91a35e2520f3aa8bedd0d5aaf5b2c3e1c4.tar.gz vyatta-cfg-system-cbf57a91a35e2520f3aa8bedd0d5aaf5b2c3e1c4.zip |
Add vrrp vip addresses to watchlink exclude file.
Diffstat (limited to 'templates')
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 |