diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-06 18:59:55 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-06 18:59:55 +0100 |
commit | cb8edaf195060df2795a5aa1e6a883341b5af747 (patch) | |
tree | f69439ec4719f650c3fb91800fda15e9eb54216c /interface-definitions | |
parent | 10a23cd803c0784cbdd80daff6750f02c982df4f (diff) | |
download | vyos-1x-cb8edaf195060df2795a5aa1e6a883341b5af747.tar.gz vyos-1x-cb8edaf195060df2795a5aa1e6a883341b5af747.zip |
system: T3048: add dynamic performance tuning daemon
Add new CLI command "set system options performance <latency | throughput>"
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system-options.xml.in | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/interface-definitions/system-options.xml.in b/interface-definitions/system-options.xml.in index a5fec10db..297f5891e 100644 --- a/interface-definitions/system-options.xml.in +++ b/interface-definitions/system-options.xml.in @@ -38,11 +38,24 @@ <constraintErrorMessage>Must be ignore, reboot, or poweroff</constraintErrorMessage> </properties> </leafNode> - <leafNode name="reboot-on-panic"> - <properties> - <help>Reboot system on kernel panic</help> - <valueless/> - </properties> + <leafNode name="performance"> + <properties> + <help>Tune system performance</help> + <completionHelp> + <list>throughput latency</list> + </completionHelp> + <valueHelp> + <format>throughput</format> + <description>Tune for maximum network throughput</description> + </valueHelp> + <valueHelp> + <format>latency</format> + <description>Tune for low network latency</description> + </valueHelp> + <constraint> + <regex>^(throughput|latency)$</regex> + </constraint> + </properties> </leafNode> <node name="http-client"> <properties> @@ -53,6 +66,12 @@ #include <include/source-address-ipv4-ipv6.xml.i> </children> </node> + <leafNode name="reboot-on-panic"> + <properties> + <help>Reboot system on kernel panic</help> + <valueless/> + </properties> + </leafNode> <node name="ssh-client"> <properties> <help>Global options used for SSH client</help> |