summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-13 09:31:56 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-13 11:08:03 +0200
commit26a73724f8a4448ed63ea5bee4e04f27a00008c9 (patch)
tree92afadf60fc6dfb021bbc231e73f66379ac628d1
parent0576de7562ee61c5b9d18d824ff6453b225c6811 (diff)
downloadvyatta-cfg-firewall-26a73724f8a4448ed63ea5bee4e04f27a00008c9.tar.gz
vyatta-cfg-firewall-26a73724f8a4448ed63ea5bee4e04f27a00008c9.zip
T2023: add macsec interface firewall support
(cherry picked from commit 44f91525cc72a26b365bb24cab22344bc5e06540)
-rw-r--r--debian/vyatta-cfg-firewall.install1
-rwxr-xr-xgen-interface-policy-templates.pl1
-rwxr-xr-xgen-interface-templates.pl2
3 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-firewall.install b/debian/vyatta-cfg-firewall.install
index e4844fb..baafd31 100644
--- a/debian/vyatta-cfg-firewall.install
+++ b/debian/vyatta-cfg-firewall.install
@@ -9,6 +9,7 @@ opt/vyatta/share/vyatta-cfg/templates/interfaces/bridge
opt/vyatta/share/vyatta-cfg/templates/interfaces/dummy
opt/vyatta/share/vyatta-cfg/templates/interfaces/ethernet
opt/vyatta/share/vyatta-cfg/templates/interfaces/input
+opt/vyatta/share/vyatta-cfg/templates/interfaces/macsec
opt/vyatta/share/vyatta-cfg/templates/interfaces/openvpn
opt/vyatta/share/vyatta-cfg/templates/interfaces/pppoe
opt/vyatta/share/vyatta-cfg/templates/interfaces/pseudo-ethernet
diff --git a/gen-interface-policy-templates.pl b/gen-interface-policy-templates.pl
index b4ab55f..7d95559 100755
--- a/gen-interface-policy-templates.pl
+++ b/gen-interface-policy-templates.pl
@@ -49,6 +49,7 @@ my %interface_hash = (
'input/node.tag' => '$VAR(../../@)',
'l2tpv3/node.tag' => '$VAR(../../@)',
'multilink/node.tag/vif/node.tag' => '$VAR(../../../@)',
+ 'macsec/node.tag' => '$VAR(../../@)',
'openvpn/node.tag' => '$VAR(../../@)',
'pppoe/node.tag' => '$VAR(../../@)',
'pseudo-ethernet/node.tag' => '$VAR(../../@)',
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 4b7df1f..6af75c8 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -49,6 +49,7 @@ my %interface_hash = (
'input/node.tag' => '$VAR(../../../@)',
'l2tpv3/node.tag' => '$VAR(../../../@)',
'multilink/node.tag/vif/node.tag' => '$VAR(../../../../@)',
+ 'macsec/node.tag' => '$VAR(../../../@)',
'openvpn/node.tag' => '$VAR(../../../@)',
'pppoe/node.tag' => '$VAR(../../../@)',
'pseudo-ethernet/node.tag' => '$VAR(../../../@)',
@@ -79,6 +80,7 @@ my %firewall_hash = (
'input/node.tag' => 'input $VAR(../@)',
'l2tpv3/node.tag' => 'l2tpv3 $VAR(../@)',
'multilink/node.tag/vif/node.tag' => 'multilink $VAR(../../../@) vif $VAR(../@)',
+ 'macsec/node.tag' => 'openvpn $VAR(../@)',
'openvpn/node.tag' => 'openvpn $VAR(../@)',
'pppoe/node.tag' => 'pppoe $VAR(../@)',
'pseudo-ethernet/node.tag' => 'pseudo-ethernet $VAR(../@)',