diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-06 12:15:25 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-06 12:15:25 +0200 |
commit | 8296cc727066e739c178918a91cfc11d20d26fe1 (patch) | |
tree | 5d145b08665435598bb68688c4e01f12eb8e410c /smoketest/scripts/cli | |
parent | e86761fa1307596c721c3ddf3a61d263e8f5177b (diff) | |
download | vyos-1x-8296cc727066e739c178918a91cfc11d20d26fe1.tar.gz vyos-1x-8296cc727066e739c178918a91cfc11d20d26fe1.zip |
ethernet: T5862: default MTU is not acceptable in some environments
There are cloud environments available where the maximum supported ethernet
MTU is e.g. 1450 bytes, thus we clamp this to the adapters maximum MTU value
or 1500 bytes - whatever is lower.
Diffstat (limited to 'smoketest/scripts/cli')
-rw-r--r-- | smoketest/scripts/cli/base_interfaces_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py index a106ebe61..9be2c2f1a 100644 --- a/smoketest/scripts/cli/base_interfaces_test.py +++ b/smoketest/scripts/cli/base_interfaces_test.py @@ -519,8 +519,7 @@ class BasicInterfaceTest: base = self._base_path + [interface, 'vif', vlan] self.cli_set(base + ['mtu', mtu_9000]) - # check validate() - VIF MTU must not be larger the parent interface - # MTU size. + # check validate() - Interface MTU "9000" too high, parent interface MTU is "1500"! with self.assertRaises(ConfigSessionError): self.cli_commit() |