From a92e14001b107401b81ee4e5230d37715ea51044 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Wed, 13 Aug 2025 18:30:27 +0300 Subject: T7716: VPP: Change defaults and add a warning about maximum routes count for current configuration --- src/conf_mode/vpp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/conf_mode/vpp.py b/src/conf_mode/vpp.py index 6e02f9593..90e71e522 100755 --- a/src/conf_mode/vpp.py +++ b/src/conf_mode/vpp.py @@ -54,6 +54,7 @@ from vyos.vpp.config_verify import ( verify_vpp_statseg_size, verify_vpp_interfaces_dpdk_num_queues, verify_vpp_host_resources, + verify_routes_count, ) from vyos.vpp.config_filter import iface_filter_eth from vyos.vpp.utils import EthtoolGDrvinfo @@ -465,6 +466,8 @@ def verify(config): f'Interface {iface_config["iface_name"]} is an xconnect member and cannot be removed' ) + verify_routes_count(config['settings'], workers) + def generate(config): if not config or ('removed_ifaces' in config and 'settings' not in config): -- cgit v1.2.3