diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-08-14 17:38:32 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-14 17:38:32 +0300 |
| commit | 896e1675da5e435a210201f0e4f2fcb3f2fb068a (patch) | |
| tree | a6e2a4d5159c592d686b3c52d50f18f86a4e0d57 /src | |
| parent | 4c8f5f0e0b7ab090e7bbba1c73f1dc17b5311a55 (diff) | |
| parent | a92e14001b107401b81ee4e5230d37715ea51044 (diff) | |
| download | vyos-1x-896e1675da5e435a210201f0e4f2fcb3f2fb068a.tar.gz vyos-1x-896e1675da5e435a210201f0e4f2fcb3f2fb068a.zip | |
Merge pull request #4658 from natali-rs1985/T7716
T7716: VPP: Change defaults and add a warning about maximum routes count for current configuration
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/vpp.py | 3 |
1 files changed, 3 insertions, 0 deletions
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): |
