diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-06-26 13:19:21 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-06-26 13:19:21 +0200 |
commit | 32fcaf5e7a91df6fe67488a64773ab494076b2e7 (patch) | |
tree | 9a449b7d83473f5ecaac6dbd2f4cd120826ab296 | |
parent | 2f24ba843d03132902ff089c0ed942fa894cbeaf (diff) | |
download | vyatta-cfg-qos-32fcaf5e7a91df6fe67488a64773ab494076b2e7.tar.gz vyatta-cfg-qos-32fcaf5e7a91df6fe67488a64773ab494076b2e7.zip |
Add QinQ to interfaces in template generator.
-rwxr-xr-x | gen-interface-templates.pl | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index d087017..85eaa43 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -28,16 +28,19 @@ my $debug = $ENV{'DEBUG'}; # Mapping from configuration level to ifname used AT THAT LEVEL my %interface_hash = ( - 'loopback/node.tag' => '$VAR(@)', - 'ethernet/node.tag' => '$VAR(@)', - 'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)', - 'ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)', - 'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)', - 'wireless/node.tag' => '$VAR(@)', - 'bonding/node.tag' => '$VAR(@)', - 'bonding/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)', - 'pseudo-ethernet/node.tag' => '$VAR(@)', -# 'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)', + 'loopback/node.tag' => '$VAR(@)', + 'ethernet/node.tag' => '$VAR(@)', + 'ethernet/node.tag/pppoe/node.tag' => 'pppoe$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/vif/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)', + 'ethernet/node.tag/vif/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)', + 'wireless/node.tag' => '$VAR(@)', + 'bonding/node.tag' => '$VAR(@)', + 'bonding/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)', + 'bonding/node.tag/vif/node.tag/vif/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)', + 'pseudo-ethernet/node.tag' => '$VAR(@)', +# 'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)', 'tunnel/node.tag' => '$VAR(@)', 'vti/node.tag' => '$VAR(@)', |