diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-09-20 10:08:50 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-09-20 10:08:50 +0200 |
commit | 94492aa07c9468c51ef1c82b8b497107303bfefc (patch) | |
tree | d42b304210a9668339658ccdca84931426dc754c | |
parent | 8b03013b80b56f5ae5d33816a55fee5e790dc015 (diff) | |
download | vyatta-cfg-firewall-94492aa07c9468c51ef1c82b8b497107303bfefc.tar.gz vyatta-cfg-firewall-94492aa07c9468c51ef1c82b8b497107303bfefc.zip |
Add VXLAN to generated templates.
-rw-r--r-- | debian/vyatta-cfg-firewall.install | 1 | ||||
-rwxr-xr-x | gen-interface-policy-templates.pl | 2 | ||||
-rwxr-xr-x | gen-interface-templates.pl | 5 |
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 |