diff options
| author | Daniil Baturin <daniil@vyos.io> | 2026-03-24 15:26:26 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-24 15:26:26 +0000 |
| commit | a9a75eb7dce077bceee1ae13dc943b05d8759925 (patch) | |
| tree | dafec312330120450ba0de57b3f4ca51343178d1 /src/conf_mode/interfaces_vxlan.py | |
| parent | cb1b97548ce0cb51ee4445c2b1cdc375cd9b6121 (diff) | |
| parent | 1b7b7a468cab0fd23fdeef0d0b76d9812d80980a (diff) | |
| download | vyos-1x-a9a75eb7dce077bceee1ae13dc943b05d8759925.tar.gz vyos-1x-a9a75eb7dce077bceee1ae13dc943b05d8759925.zip | |
Merge pull request #5039 from natali-rs1985/T8355
vpp: T8355: Set MTU for vpp interfaces
Diffstat (limited to 'src/conf_mode/interfaces_vxlan.py')
| -rwxr-xr-x | src/conf_mode/interfaces_vxlan.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces_vxlan.py b/src/conf_mode/interfaces_vxlan.py index 5e23654e1..968214354 100755 --- a/src/conf_mode/interfaces_vxlan.py +++ b/src/conf_mode/interfaces_vxlan.py @@ -159,8 +159,10 @@ def verify(vxlan): lower_mtu = Interface(vxlan['source_interface']).get_mtu() if lower_mtu < (int(vxlan['mtu']) + vxlan_overhead): - raise ConfigError(f'Underlaying device MTU is to small ({lower_mtu} '\ - f'bytes) for VXLAN overhead ({vxlan_overhead} bytes!)') + Warning( + f'Underlying device MTU is too small ({lower_mtu} ' + f'bytes) for VXLAN overhead ({vxlan_overhead} bytes!)' + ) # Check for mixed IPv4 and IPv6 addresses protocol = None |
