From 26dec273e603f26fcc0593672635232e7a0bcc0e Mon Sep 17 00:00:00 2001 From: John Southworth Date: Fri, 2 Dec 2011 11:15:16 -0800 Subject: Add vrrp interface parameters for bonding vifs --- gen-interface-templates.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(@)', -- cgit v1.2.3