summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-01 16:25:42 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-01 16:54:56 -0800
commit3dd3a3d6e53497be297f0e63ee30872d9ce4ed9a (patch)
treeb75f06498b7e356bd52eb6fe9b3c6622558d81e6 /gen-interface-templates.pl
parent6424212bcbbcadfbbfdb14f65843e87645d7897c (diff)
downloadvyatta-cfg-qos-3dd3a3d6e53497be297f0e63ee30872d9ce4ed9a.tar.gz
vyatta-cfg-qos-3dd3a3d6e53497be297f0e63ee30872d9ce4ed9a.zip
Generate traffic-policy nodes for vrrp interfaces
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 8fb221c..a09a45f 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -31,11 +31,15 @@ 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(@)',
'bonding/node.tag' => '$VAR(@)',
'bonding/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
+ 'bonding/node.tag/vrrp/vrrp-group/node.tag/interface' => '$VAR(../../../@)v$VAR(../@)',
'pseudo-ethernet/node.tag' => '$VAR(@)',
# 'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',