summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorCarl Byington <carl@five-ten-sg.com>2014-11-25 11:56:16 -0800
committerDaniil Baturin <daniil@baturin.org>2015-05-03 23:39:57 +0200
commit42a80ea39ad481d5dbbfac1589381cb490f768db (patch)
tree14ccfdabe73982c8fd716a4d9a4d0fc5d173ca91 /gen-interface-templates.pl
parentcf24ccc48be755da8051ce1b3f13cb7c18a14e69 (diff)
downloadvyatta-cfg-firewall-42a80ea39ad481d5dbbfac1589381cb490f768db.tar.gz
vyatta-cfg-firewall-42a80ea39ad481d5dbbfac1589381cb490f768db.zip
add firewall config for vrrp interfaces
Signed-off-by: Daniil Baturin <daniil@baturin.org>
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 2de86c5..d088891 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -47,6 +47,7 @@ my %interface_hash = (
'ethernet/node.tag/vif/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/vrrp/vrrp-group/node.tag' => '$VAR(../../../../@)v$VAR(../../../@)',
'pseudo-ethernet/node.tag' => '$VAR(../../../@)',
'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
@@ -81,9 +82,10 @@ my %firewall_hash = (
'ethernet/node.tag' => 'ethernet $VAR(../@)',
'ethernet/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../@) pppoe $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/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/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(../@)',
'openvpn/node.tag' => 'openvpn $VAR(../@)',
'pseudo-ethernet/node.tag' => 'pseudo-ethernet $VAR(../@)',