summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-01 14:12:48 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-01 14:12:48 -0800
commit5c5891fc352d9093bce27ea45fe9851e5ce7c2a0 (patch)
tree0ce70a196d4b36b4a5a77721a6c9cf6dfe702887 /gen-interface-templates.pl
parent194419bd28240c3d5c9911588235a562276e8f6a (diff)
downloadvyatta-cfg-firewall-5c5891fc352d9093bce27ea45fe9851e5ce7c2a0.tar.gz
vyatta-cfg-firewall-5c5891fc352d9093bce27ea45fe9851e5ce7c2a0.zip
generate firewall templates for vrrp interfaces
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 3f7a232..1d17225 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -42,11 +42,15 @@ my %interface_hash = (
'bonding/node.tag' => '$VAR(../../../@)',
'bonding/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
+ 'bonding/node.tag/vrrp/vrrp-group/node.tag/interface' => '$VAR(../../../../../../@)v$VAR(../../../../@)',
'ethernet/node.tag' => '$VAR(../../../@)',
'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)',
+ 'ethernet/node.tag/vrrp/vrrp-group/node.tag/interface' => '$VAR(../../../../../../@)v$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/vrrp/vrrp-group/node.tag/interface' =>
+ '$VAR(../../../../../../../@).$VAR(../../../../../../@)v$VAR(../../../../@)',
'pseudo-ethernet/node.tag' => '$VAR(../../../@)',
'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',