summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorCarl Byington <carl@five-ten-sg.com>2015-04-26 16:50:05 -0700
committerDaniil Baturin <daniil@baturin.org>2015-05-03 23:39:58 +0200
commit5212311e534d062690c9dcd74d5e1880a457b8d7 (patch)
treeb871b4bc59f3be7a713b908cec6124c670e1be93 /gen-interface-templates.pl
parent8196db98bc86e0dab33bde583921affb03c52d35 (diff)
downloadvyatta-cfg-firewall-5212311e534d062690c9dcd74d5e1880a457b8d7.tar.gz
vyatta-cfg-firewall-5212311e534d062690c9dcd74d5e1880a457b8d7.zip
http://bugzilla.vyos.net/show_bug.cgi?id=494
Signed-off-by: Daniil Baturin <daniil@baturin.org>
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl58
1 files changed, 29 insertions, 29 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 117c425..ceabc6e 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -38,14 +38,14 @@ my $debug = 0;
my %interface_hash = (
'bonding/node.tag' => '$VAR(../../../@)',
'bonding/node.tag/vif-s/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
- 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../@).$VAR(../../../@).$VAR(../../@)',
+ 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../../@).$VAR(../../../../@).$VAR(../../../@)',
'bonding/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
'bridge/node.tag' => '$VAR(../../../@)',
'dummy/node.tag' => '$VAR(../../../@)',
'ethernet/node.tag' => '$VAR(../../../@)',
'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)',
'ethernet/node.tag/vif-s/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
- 'ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../@).$VAR(../../../@).$VAR(../../@)',
+ 'ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../../@).$VAR(../../../../@).$VAR(../../../@)',
'ethernet/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)',
'ethernet/node.tag/vrrp/vrrp-group/node.tag' => '$VAR(../../../../../@)v$VAR(../../../@)',
@@ -55,7 +55,7 @@ my %interface_hash = (
'openvpn/node.tag' => '$VAR(../../../@)',
'pseudo-ethernet/node.tag' => '$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(../../@)',
+ 'pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../../@).$VAR(../../../../@).$VAR(../../../@)',
'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
'tunnel/node.tag' => '$VAR(../../../@)',
'vti/node.tag' => '$VAR(../../../@)',
@@ -67,33 +67,33 @@ my %interface_hash = (
# Firewall node hashes
my %firewall_hash = (
- 'bonding/node.tag' => 'bonding $VAR(../@)',
- 'bonding/node.tag/vif-s/node.tag' => 'bonding $VAR(../../../@) vif-s $VAR(../@)',
- 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => 'bonding $VAR(../../../../@) vif-s $VAR(../../@) vif-c $VAR(../@)',
- 'bonding/node.tag/vif/node.tag' => 'bonding $VAR(../../../@) vif $VAR(../@)',
- 'bridge/node.tag' => 'bridge $VAR(../@)',
- 'dummy/node.tag' => 'dummy $VAR(../@)',
- 'ethernet/node.tag' => 'ethernet $VAR(../@)',
- 'ethernet/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../@) pppoe $VAR(../@)',
- 'ethernet/node.tag/vif-s/node.tag' => 'ethernet $VAR(../../../@) vif-s $VAR(../@)',
- 'ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => 'ethernet $VAR(../../../../@) vif-s $VAR(../../@) vif-c $VAR(../@)',
- 'ethernet/node.tag/vif/node.tag' => 'ethernet $VAR(../../../@) vif $VAR(../@)',
- 'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../../../@) vif $VAR(../../@) pppoe $VAR(../@)',
- 'ethernet/node.tag/vrrp/vrrp-group/node.tag' => 'ethernet $VAR(../../../@) vrrp vrrp-group $VAR(../@)',
- 'input/node.tag' => 'input $VAR(../@)',
- 'l2tpv3/node.tag' => 'l2tpv3 $VAR(../@)',
- 'multilink/node.tag/vif/node.tag' => 'multilink $VAR(../../../@) vif $VAR(../@)',
- 'openvpn/node.tag' => 'openvpn $VAR(../@)',
- 'pseudo-ethernet/node.tag' => 'pseudo-ethernet $VAR(../@)',
- 'pseudo-ethernet/node.tag/vif-s/node.tag' => 'pseudo-ethernet $VAR(../../../@) vif-s $VAR(../@)',
+ 'bonding/node.tag' => 'bonding $VAR(../@)',
+ 'bonding/node.tag/vif-s/node.tag' => 'bonding $VAR(../../../@) vif-s $VAR(../@)',
+ 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => 'bonding $VAR(../../../../@) vif-s $VAR(../../@) vif-c $VAR(../@)',
+ 'bonding/node.tag/vif/node.tag' => 'bonding $VAR(../../../@) vif $VAR(../@)',
+ 'bridge/node.tag' => 'bridge $VAR(../@)',
+ 'dummy/node.tag' => 'dummy $VAR(../@)',
+ 'ethernet/node.tag' => 'ethernet $VAR(../@)',
+ 'ethernet/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../@) pppoe $VAR(../@)',
+ 'ethernet/node.tag/vif-s/node.tag' => 'ethernet $VAR(../../../@) vif-s $VAR(../@)',
+ 'ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => 'ethernet $VAR(../../../../@) vif-s $VAR(../../@) vif-c $VAR(../@)',
+ 'ethernet/node.tag/vif/node.tag' => 'ethernet $VAR(../../../@) vif $VAR(../@)',
+ 'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../../../@) vif $VAR(../../@) pppoe $VAR(../@)',
+ 'ethernet/node.tag/vrrp/vrrp-group/node.tag' => 'ethernet $VAR(../../../@) vrrp vrrp-group $VAR(../@)',
+ 'input/node.tag' => 'input $VAR(../@)',
+ 'l2tpv3/node.tag' => 'l2tpv3 $VAR(../@)',
+ 'multilink/node.tag/vif/node.tag' => 'multilink $VAR(../../../@) vif $VAR(../@)',
+ 'openvpn/node.tag' => 'openvpn $VAR(../@)',
+ 'pseudo-ethernet/node.tag' => 'pseudo-ethernet $VAR(../@)',
+ 'pseudo-ethernet/node.tag/vif-s/node.tag' => 'pseudo-ethernet $VAR(../../../@) vif-s $VAR(../@)',
'pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => 'pseudo-ethernet $VAR(../../../../@) vif-s $VAR(../../@) vif-c $VAR(../@)',
- 'pseudo-ethernet/node.tag/vif/node.tag' => 'pseudo-ethernet $VAR(../../../@) vif $VAR(../@)',
- 'tunnel/node.tag' => 'tunnel $VAR(../@)',
- 'vti/node.tag' => 'vti $VAR(../@)',
- 'vxlan/node.tag' => 'vxlan $VAR(../@)',
- 'wireless/node.tag' => 'wireless $VAR(../@)',
- 'wireless/node.tag/vif/node.tag' => 'wireless $VAR(../../../@) vif $VAR(../@)',
- 'wirelessmodem/node.tag' => 'wirelessmodem $VAR(../@)',
+ 'pseudo-ethernet/node.tag/vif/node.tag' => 'pseudo-ethernet $VAR(../../../@) vif $VAR(../@)',
+ 'tunnel/node.tag' => 'tunnel $VAR(../@)',
+ 'vti/node.tag' => 'vti $VAR(../@)',
+ 'vxlan/node.tag' => 'vxlan $VAR(../@)',
+ 'wireless/node.tag' => 'wireless $VAR(../@)',
+ 'wireless/node.tag/vif/node.tag' => 'wireless $VAR(../../../@) vif $VAR(../@)',
+ 'wirelessmodem/node.tag' => 'wirelessmodem $VAR(../@)',
);
# Hash table to check if the priority needs to set @ root