summaryrefslogtreecommitdiff
path: root/interface-definitions/vpp.xml.in
diff options
context:
space:
mode:
authorNataliia S. <81954790+natali-rs1985@users.noreply.github.com>2025-06-24 17:36:18 +0300
committerGitHub <noreply@github.com>2025-06-24 15:36:18 +0100
commit6eb93578a33f27007c4ecda8b71efbd880a97653 (patch)
treee1ad4b583e9cd74f5e02d6c44333dce5c69abb8d /interface-definitions/vpp.xml.in
parent429563d0822adc715757447515a49e0d87911476 (diff)
downloadvyos-1x-6eb93578a33f27007c4ecda8b71efbd880a97653.tar.gz
vyos-1x-6eb93578a33f27007c4ecda8b71efbd880a97653.zip
T7424: Refactor resource validation and broaden cases (#38)
* T7424: Refactor and extend resource usage verification on commit for VPP CLI T7424: Fix ruff errors * T7424: Implement check for smoke tests runtime; reduce resource requirements for test environments T7424: Fix errors in calculating the skipped and reserved CPU cores; Adjust default main heap size value. * T7424: Refactor the CPU checks logic; Add total CPU usage check T7424: Fix CPU reserve and skip cores calculations; Add total CPU usage check T7424: Refactor smoketests to reflect new logic * T7424: Refactor the CPU and memory checks logic --------- Co-authored-by: oniko94 <onikolaiev94@outlook.com>
Diffstat (limited to 'interface-definitions/vpp.xml.in')
-rw-r--r--interface-definitions/vpp.xml.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in
index dab0ea308..fa66d6126 100644
--- a/interface-definitions/vpp.xml.in
+++ b/interface-definitions/vpp.xml.in
@@ -427,11 +427,11 @@
<properties>
<help>Skip cores</help>
<valueHelp>
- <format>u32:0-512</format>
+ <format>u32:1-512</format>
<description>Skip cores</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-512"/>
+ <validator name="numeric" argument="--range 1-512"/>
</constraint>
</properties>
</leafNode>
@@ -771,12 +771,14 @@
<help>Main heap size</help>
#include <include/unformat_memory_size.xml.i>
</properties>
+ <defaultValue>3G</defaultValue>
</leafNode>
<leafNode name="main-heap-page-size">
<properties>
<help>Main heap page size</help>
#include <include/unformat_log2_page_size.xml.i>
</properties>
+ <defaultValue>2M</defaultValue>
</leafNode>
<leafNode name="default-hugepage-size">
<properties>
@@ -785,6 +787,7 @@
<script>sudo ${vyos_completion_dir}/list_mem_page_size.py --hugepage_only True </script>
</completionHelp>
</properties>
+ <defaultValue>2M</defaultValue>
</leafNode>
</children>
</node>