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 09:31:56 +0200
commit44f91525cc72a26b365bb24cab22344bc5e06540 (patch)
tree908b44419505c42dba5a0f50b9b0c5c3b6dd4d58
parentc5a8a802fa017808ba044d9151dd35a48ae60b94 (diff)
downloadvyatta-cfg-firewall-44f91525cc72a26b365bb24cab22344bc5e06540.tar.gz
vyatta-cfg-firewall-44f91525cc72a26b365bb24cab22344bc5e06540.zip
T2023: add macsec interface firewall support
-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(../@)',