diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-05-20 15:54:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-20 15:54:33 +0100 |
commit | 22310904c95003585dd24f2d071458d598ce047d (patch) | |
tree | 8c994e6b2441808a0460dbfe12f517727996f6c1 /interface-definitions/include | |
parent | 20ebbe36c3798383134854f3333bbbd2c2413043 (diff) | |
parent | 1f6939dae267e163faa591cb67004c237ad10e16 (diff) | |
download | vyos-1x-22310904c95003585dd24f2d071458d598ce047d.tar.gz vyos-1x-22310904c95003585dd24f2d071458d598ce047d.zip |
Merge pull request #4499 from sever-sever/T7348
T7348: Add config CPU thread-count for accel-ppp services
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/accel-ppp/thread-count.xml.i | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/thread-count.xml.i b/interface-definitions/include/accel-ppp/thread-count.xml.i new file mode 100644 index 000000000..84d9224d0 --- /dev/null +++ b/interface-definitions/include/accel-ppp/thread-count.xml.i @@ -0,0 +1,27 @@ +<!-- include start from accel-ppp/thread-count.xml.i --> +<leafNode name="thread-count"> + <properties> + <help>Number of working threads</help> + <completionHelp> + <list>all half</list> + </completionHelp> + <valueHelp> + <format>all</format> + <description>Use all available CPU cores</description> + </valueHelp> + <valueHelp> + <format>half</format> + <description>Use half of available CPU cores</description> + </valueHelp> + <valueHelp> + <format>u32:1-512</format> + <description>Thread count</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-512"/> + <regex>(all|half)</regex> + </constraint> + </properties> + <defaultValue>all</defaultValue> +</leafNode> +<!-- include end --> |