diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-04-24 15:56:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-24 15:56:20 +0100 |
| commit | 3e08abf7606b05339afd669cbbdfb330a3995cde (patch) | |
| tree | 7400b9097b28298b4600372566e96b23c9a9823b /python | |
| parent | c898ce2e096d77db37c3bb65a004a29190879c30 (diff) | |
| parent | 85c34d9f520e0221c5c476474781632693738154 (diff) | |
| download | vyos-1x-3e08abf7606b05339afd669cbbdfb330a3995cde.tar.gz vyos-1x-3e08abf7606b05339afd669cbbdfb330a3995cde.zip | |
Merge pull request #4442 from srividya0208/T7316
T7316: Add MTU validation for interfaces with MTU less then 1200
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/configverify.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/configverify.py b/python/vyos/configverify.py index c93d9faac..d5f443f15 100644 --- a/python/vyos/configverify.py +++ b/python/vyos/configverify.py @@ -359,6 +359,7 @@ def verify_vlan_config(config): verify_vrf(vlan) verify_mirror_redirect(vlan) verify_mtu_parent(vlan, config) + verify_mtu_ipv6(vlan) # 802.1ad (Q-in-Q) VLANs for s_vlan_id in config.get('vif_s', {}): @@ -370,6 +371,7 @@ def verify_vlan_config(config): verify_vrf(s_vlan) verify_mirror_redirect(s_vlan) verify_mtu_parent(s_vlan, config) + verify_mtu_ipv6(s_vlan) for c_vlan_id in s_vlan.get('vif_c', {}): c_vlan = s_vlan['vif_c'][c_vlan_id] @@ -381,6 +383,7 @@ def verify_vlan_config(config): verify_mirror_redirect(c_vlan) verify_mtu_parent(c_vlan, config) verify_mtu_parent(c_vlan, s_vlan) + verify_mtu_ipv6(c_vlan) def verify_diffie_hellman_length(file, min_keysize): |
