summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-02 11:17:35 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-02 11:18:28 -0800
commit604e5c35dfbb19c05566c2fdd76562e4c892f45a (patch)
tree375db2be2d11f4168006fe533387b0ea31d609d1
parentc035ce4bba6e19cbf7e2f8d71d2b1f54fd853fb4 (diff)
downloadvyatta-cfg-quagga-604e5c35dfbb19c05566c2fdd76562e4c892f45a.tar.gz
vyatta-cfg-quagga-604e5c35dfbb19c05566c2fdd76562e4c892f45a.zip
Add vrrp interface parameter
-rwxr-xr-xgen-interface-templates.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 254f46af..88404e94 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -32,14 +32,20 @@ my %interface_hash = (
'loopback/node.tag' => '$VAR(@)',
'ethernet/node.tag' => '$VAR(@)',
'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)',
+ 'ethernet/node.tag/vrrp/vrrp-group/node.tag/interface' => '$VAR(../../../@)v$VAR(../@)',
'ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)',
+ 'ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/interface' =>
+ '$VAR(../../../../@).$VAR(../../../@)v$VAR(../@)',
'wireless/node.tag' => '$VAR(@)',
'wireless/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'pseudo-ethernet/node.tag' => '$VAR(@)',
'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'bonding/node.tag' => '$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(../@)',
'tunnel/node.tag' => '$VAR(@)',
'bridge/node.tag' => '$VAR(@)',
'openvpn/node.tag' => '$VAR(@)',