summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2025-08-13 18:30:27 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2025-08-14 16:19:07 +0300
commita92e14001b107401b81ee4e5230d37715ea51044 (patch)
treec27e1a48e148b125138f2af605c05cb57167c215 /src
parent471441d9d6541401c5236399da0b7a56a7dd0ead (diff)
downloadvyos-1x-a92e14001b107401b81ee4e5230d37715ea51044.tar.gz
vyos-1x-a92e14001b107401b81ee4e5230d37715ea51044.zip
T7716: VPP: Change defaults and add a warning about maximum routes count for current configuration
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/vpp.py3
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):