summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-macsec.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-01-21 15:02:41 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-02-03 11:50:32 -0600
commite336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8 (patch)
tree37e3072757bcc708f729445ab4f0d60b70a1d346 /src/conf_mode/interfaces-macsec.py
parentd38fdaa3a91b168316fc1c668491774b942b8848 (diff)
downloadvyos-1x-e336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8.tar.gz
vyos-1x-e336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8.zip
xml: T3239: override default mtu values and remove workarounds
(cherry picked from commit ea4c72ed0dbcee3f7e8f9693c5310190833651d8)
Diffstat (limited to 'src/conf_mode/interfaces-macsec.py')
-rwxr-xr-xsrc/conf_mode/interfaces-macsec.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/conf_mode/interfaces-macsec.py b/src/conf_mode/interfaces-macsec.py
index 2c8367ff3..bfebed7e4 100755
--- a/src/conf_mode/interfaces-macsec.py
+++ b/src/conf_mode/interfaces-macsec.py
@@ -49,14 +49,6 @@ def get_config(config=None):
base = ['interfaces', 'macsec']
macsec = get_interface_dict(conf, base)
- # MACsec is "special" the default MTU is 1460 - update accordingly
- # as the config_level is already st in get_interface_dict() - we can use []
- tmp = conf.get_config_dict([], key_mangling=('-', '_'), get_first_key=True)
- if 'mtu' not in tmp:
- # base MTU for MACsec is 1468 bytes, but we leave room for 802.1ad and
- # 802.1q VLAN tags, thus the limit is 1460 bytes.
- macsec['mtu'] = '1460'
-
# Check if interface has been removed
if 'deleted' in macsec:
source_interface = conf.return_effective_value(['source-interface'])