diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-06-26 12:49:34 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-06-26 12:49:34 +0200 |
commit | c5502338d5ca3bea1f66950b377eb4551907b5b7 (patch) | |
tree | f9b9056adc5bb1917683b4db9717a4a67a3546a9 /gen-interface-templates.pl | |
parent | a39dfa4eed3e1cd1cc00aa8ae5d77c04c260f994 (diff) | |
download | vyatta-cfg-firewall-c5502338d5ca3bea1f66950b377eb4551907b5b7.tar.gz vyatta-cfg-firewall-c5502338d5ca3bea1f66950b377eb4551907b5b7.zip |
Add QinQ to interfaces in template generators.
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-x | gen-interface-templates.pl | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index 3addf4d..ef2c00f 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -34,21 +34,24 @@ my $debug = 0; # the partial pathname under the config template tree "interfaces/". # my %interface_hash = ( - 'adsl/node.tag/pvc/node.tag/bridged-ethernet' => - '$VAR(../../../../../@)', - 'adsl/node.tag/pvc/node.tag/classical-ipoa' => '$VAR(../../../../../@)', - 'adsl/node.tag/pvc/node.tag/pppoa/node.tag' => 'pppoa$VAR(../../../@)', - 'adsl/node.tag/pvc/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)', - - 'bonding/node.tag' => '$VAR(../../../@)', - 'bonding/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)', - - 'ethernet/node.tag' => '$VAR(../../../@)', - 'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)', - 'ethernet/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)', + 'adsl/node.tag/pvc/node.tag/bridged-ethernet' => '$VAR(../../../../../@)', + 'adsl/node.tag/pvc/node.tag/classical-ipoa' => '$VAR(../../../../../@)', + 'adsl/node.tag/pvc/node.tag/pppoa/node.tag' => 'pppoa$VAR(../../../@)', + 'adsl/node.tag/pvc/node.tag/pppoe/node.tag' => 'pppoe$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(../../@)', + + '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(../../../@)', - 'pseudo-ethernet/node.tag' => '$VAR(../../../@)', - 'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)', + 'ethernet/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(../../../@)', + 'pseudo-ethernet/node.tag/vif/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@).$VAR(../../@)', 'wireless/node.tag' => '$VAR(../../../@)', 'wireless/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)', |