diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-12-02 11:19:55 -0800 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-12-02 11:20:17 -0800 |
commit | 6ec0d8392d872b5bc17c74225b16244c14a698e3 (patch) | |
tree | f60ad4ed856dc7ae36041633f8df0298d25aa668 /templates | |
parent | 960a3d656db525f1da2c94bf3c09ff6c2fa7d32a (diff) | |
download | vyatta-cfg-quagga-6ec0d8392d872b5bc17c74225b16244c14a698e3.tar.gz vyatta-cfg-quagga-6ec0d8392d872b5bc17c74225b16244c14a698e3.zip |
Add vrrp interface description for bonding vif
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/interface/description/node.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/interface/description/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/interface/description/node.def new file mode 100644 index 00000000..7d3ab379 --- /dev/null +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/interface/description/node.def @@ -0,0 +1,6 @@ +priority: 820 # after vrrp +type: txt +help: Description for this interface +update: sudo sh -c "echo \"$VAR(@)\" >/sys/class/net/$VAR(../../../../../@).$VAR(../../../../@)v$VAR(../../@)/ifalias" +delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../../../../../@).$VAR(../../../../@)v$VAR(../../@)/ifalias" + |