summaryrefslogtreecommitdiff
path: root/gen-interface-policy-templates.pl
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-07-02 00:26:59 +0200
committerKim Hagen <khagen@multi-development.com>2014-07-02 00:26:59 +0200
commitd8bca3dcac051a2e6b942fcc58df2145ea9ef894 (patch)
treee7c3cec358f591f11c3b6f9b7f16d41dc1bbc8be /gen-interface-policy-templates.pl
parent004f92bd2f2f6c7699e43b337cbc3ea91c1a7fa8 (diff)
downloadvyatta-cfg-firewall-d8bca3dcac051a2e6b942fcc58df2145ea9ef894.tar.gz
vyatta-cfg-firewall-d8bca3dcac051a2e6b942fcc58df2145ea9ef894.zip
Set separate virual interface for QinQ.
Diffstat (limited to 'gen-interface-policy-templates.pl')
-rwxr-xr-xgen-interface-policy-templates.pl21
1 files changed, 12 insertions, 9 deletions
diff --git a/gen-interface-policy-templates.pl b/gen-interface-policy-templates.pl
index 9452c8b..f27c329 100755
--- a/gen-interface-policy-templates.pl
+++ b/gen-interface-policy-templates.pl
@@ -34,24 +34,27 @@ 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(../../@)',
+ '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(../../@)',
+ 'bonding/node.tag' => '$VAR(../../@)',
+ 'bonding/node.tag/vif/node.tag' => '$VAR(../../../@).$VAR(../../@)',
+ 'bonding/node.tag/vif-s/node.tag' => '$VAR(../../../@).$VAR(../../@)',
+ 'bonding/node.tag/vif-s/node.tag/vif-c/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(../../@)',
- 'ethernet/node.tag/vif/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@).$VAR(../../@)',
+ 'ethernet/node.tag/vif-s/node.tag' => '$VAR(../../../@).$VAR(../../@)',
+ 'ethernet/node.tag/vif-s/node.tag/vif-c/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(../../@)',
+ 'pseudo-ethernet/node.tag/vif-s/node.tag' => '$VAR(../../../@).$VAR(../../@)',
+ 'pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../@).$VAR(../../../@).$VAR(../../@)',
'wireless/node.tag' => '$VAR(../../@)',
'wireless/node.tag/vif/node.tag' => '$VAR(../../../@).$VAR(../../@)',