diff options
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(../../../@)', |