diff options
| author | Brad Kollmyer <bradk@vitalsoft.com> | 2026-07-15 12:17:15 -0700 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-07-23 18:03:05 +0200 |
| commit | 9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5 (patch) | |
| tree | f468f93e22b913bc03ef6848b286afd8217f0aa2 /smoketest/scripts/cli | |
| parent | bd2fd51935b054f884830ba12bfb3153cb6a4cb3 (diff) | |
| download | vyos-1x-9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5.tar.gz vyos-1x-9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5.zip | |
dhcp-server: T9093: allow option interface-mtu up to 16000
DHCP option 26 (Interface MTU, RFC 2132) is a 16-bit unsigned value and Kea
accepts the full range, but the CLI validator capped it at 9000 - below the
9216 used on common jumbo fabrics and below VyOS's own interface MTU maximum
of 16000.
Relax the constraint to 576-16000 and exercise a jumbo value (9216) in the
smoketest.
Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'smoketest/scripts/cli')
| -rwxr-xr-x | smoketest/scripts/cli/test_service_dhcp-server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_dhcp-server.py b/smoketest/scripts/cli/test_service_dhcp-server.py index d743b4e28..a544198c6 100755 --- a/smoketest/scripts/cli/test_service_dhcp-server.py +++ b/smoketest/scripts/cli/test_service_dhcp-server.py @@ -420,7 +420,9 @@ class TestServiceDHCPServer(VyOSUnitTestSHIM.TestCase): server_identifier = bootfile_server ipv6_only_preferred = '300' capwap_access_controller = '192.168.2.125' - interface_mtu = '1420' + # 9216: jumbo-fabric MTU above the former arbitrary 9000 cap + # (DHCP option 26 is a full u16) + interface_mtu = '9216' pool = base_path + ['shared-network-name', shared_net_name, 'subnet', subnet] self.cli_set(pool + ['subnet-id', '1']) |
