diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-12-01 16:25:42 -0800 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-12-01 16:25:42 -0800 |
commit | ab43b36ef8be4c8f2b41f99cce8dfd9196fe7314 (patch) | |
tree | a879d45ed16ab66e5c00a50fe594de0dbecc4e38 | |
parent | 095a9697beee737f0e53c1b16039b76278ecdd33 (diff) | |
download | vyatta-cfg-qos-ab43b36ef8be4c8f2b41f99cce8dfd9196fe7314.tar.gz vyatta-cfg-qos-ab43b36ef8be4c8f2b41f99cce8dfd9196fe7314.zip |
Generate traffic-policy nodes for vrrp interfaces
-rwxr-xr-x | gen-interface-templates.pl | 4 |
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(@)', |