summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-02 11:15:16 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-02 11:15:35 -0800
commit115ce339db3ca6dbe68e453db6f1405aad230840 (patch)
treea68fb81e28869af56ebf8c5b330b77e6ff0a5309
parent1a46f4ce3a6dfde78641c4e8197c42dc27cab494 (diff)
downloadvyatta-cfg-qos-115ce339db3ca6dbe68e453db6f1405aad230840.tar.gz
vyatta-cfg-qos-115ce339db3ca6dbe68e453db6f1405aad230840.zip
Add vrrp interface parameters for bonding vifs
-rwxr-xr-xgen-interface-templates.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index a09a45f..a86ffa7 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -38,8 +38,10 @@ my %interface_hash = (
'$VAR(../../../../@).$VAR(../../../@)v$VAR(../@)',
'wireless/node.tag' => '$VAR(@)',
'bonding/node.tag' => '$VAR(@)',
- 'bonding/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'bonding/node.tag/vrrp/vrrp-group/node.tag/interface' => '$VAR(../../../@)v$VAR(../@)',
+ 'bonding/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
+ 'bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/interface' =>
+ '$VAR(../../../../@).$VAR(../../../@)v$VAR(../@)',
'pseudo-ethernet/node.tag' => '$VAR(@)',
# 'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',