summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-09-20 10:08:50 +0200
committerDaniil Baturin <daniil@baturin.org>2014-09-20 10:08:50 +0200
commit94492aa07c9468c51ef1c82b8b497107303bfefc (patch)
treed42b304210a9668339658ccdca84931426dc754c
parent8b03013b80b56f5ae5d33816a55fee5e790dc015 (diff)
downloadvyatta-cfg-firewall-94492aa07c9468c51ef1c82b8b497107303bfefc.tar.gz
vyatta-cfg-firewall-94492aa07c9468c51ef1c82b8b497107303bfefc.zip
Add VXLAN to generated templates.
-rw-r--r--debian/vyatta-cfg-firewall.install1
-rwxr-xr-xgen-interface-policy-templates.pl2
-rwxr-xr-xgen-interface-templates.pl5
3 files changed, 7 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-firewall.install b/debian/vyatta-cfg-firewall.install
index fe5610d..780f53c 100644
--- a/debian/vyatta-cfg-firewall.install
+++ b/debian/vyatta-cfg-firewall.install
@@ -15,3 +15,4 @@ opt/vyatta/share/vyatta-cfg/templates/interfaces/vti
opt/vyatta/share/vyatta-cfg/templates/interfaces/wireless
opt/vyatta/share/vyatta-cfg/templates/interfaces/wirelessmodem
opt/vyatta/share/vyatta-cfg/templates/interfaces/l2tpv3
+opt/vyatta/share/vyatta-cfg/templates/interfaces/vxlan
diff --git a/gen-interface-policy-templates.pl b/gen-interface-policy-templates.pl
index f27c329..8f9ee38 100755
--- a/gen-interface-policy-templates.pl
+++ b/gen-interface-policy-templates.pl
@@ -66,6 +66,8 @@ my %interface_hash = (
'l2tpv3/node.tag' => '$VAR(../../@)',
+ 'vxlan/node.tag' => '$VAR(../../@)',
+
'multilink/node.tag/vif/node.tag' => '$VAR(../../../@)',
'serial/node.tag/cisco-hdlc/vif/node.tag' =>
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 475d837..8531eb9 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -67,6 +67,8 @@ my %interface_hash = (
'l2tpv3/node.tag' => '$VAR(../../../@)',
+ 'vxlan/node.tag' => '$VAR(../../../@)',
+
'multilink/node.tag/vif/node.tag' => '$VAR(../../../../@)',
'serial/node.tag/cisco-hdlc/vif/node.tag' =>
@@ -112,7 +114,8 @@ my %firewall_hash = (
'wireless/node.tag' => 'wireless $VAR(../@)',
'wireless/node.tag/vif/node.tag' => 'wireless $VAR(../../../@) vif $VAR(../@)',
'wirelessmodem/node.tag' => 'wirelessmodem $VAR(../@)',
- 'l2tpv3/node.tag' => 'l2tpv3 $VAR(../@)'
+ 'l2tpv3/node.tag' => 'l2tpv3 $VAR(../@)',
+ 'vxlan/node.tag' => 'vxlan $VAR(../@)'
);
# Hash table to check if the priority needs to set @ root