summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorNataliia S. <81954790+natali-rs1985@users.noreply.github.com>2025-08-19 11:04:38 +0200
committerGitHub <noreply@github.com>2025-08-19 11:04:38 +0200
commit3bfcf335c5f16a6c814710b01f38342c40f85a8d (patch)
treeefa1d64693f8851c31b6b1851967fb9e9d6cd2b2 /src/conf_mode
parent96fb2848e61cc5de677d9e6ad7f5c55ae397a698 (diff)
parent69cd4845861c88285ab496339f19103dec7a32b6 (diff)
downloadvyos-1x-3bfcf335c5f16a6c814710b01f38342c40f85a8d.tar.gz
vyos-1x-3bfcf335c5f16a6c814710b01f38342c40f85a8d.zip
Merge branch 'current' into T7678
Diffstat (limited to 'src/conf_mode')
-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 ace3c9f9f..966158ab7 100755
--- a/src/conf_mode/vpp.py
+++ b/src/conf_mode/vpp.py
@@ -52,6 +52,7 @@ from vyos.vpp.config_verify import (
verify_vpp_memory,
verify_vpp_statseg_size,
verify_vpp_interfaces_dpdk_num_queues,
+ verify_routes_count,
)
from vyos.vpp.config_filter import iface_filter_eth
from vyos.vpp.utils import EthtoolGDrvinfo
@@ -460,6 +461,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):