diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-02 13:58:48 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-02 13:58:48 +0000 |
commit | 47645f9d0243ce48a473ab7f8cdbd22c19f69f28 (patch) | |
tree | 42edc99e74420a78e3d644b7a413232148b04d24 /interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i | |
parent | 4f05f701086a5f8cd64e4f1458a587dfd7ba5d3a (diff) | |
download | vyos-1x-47645f9d0243ce48a473ab7f8cdbd22c19f69f28.tar.gz vyos-1x-47645f9d0243ce48a473ab7f8cdbd22c19f69f28.zip |
T5704: PPPoE L2TP SSTP IPoE add option max-concurrent-sessions
Add `max-starting` option:
[common]
max-starting=N
Specifies maximum concurrent session attempts which server may processed
set service pppoe-server max-concurrent-sessions '30'
Useful to prevent high CPU utilization and compat execution
scripts per time.
Diffstat (limited to 'interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i')
-rw-r--r-- | interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i b/interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i new file mode 100644 index 000000000..f6ef41019 --- /dev/null +++ b/interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i @@ -0,0 +1,15 @@ +<!-- include start from accel-ppp/max-concurrent-sessions.xml.i --> +<leafNode name="max-concurrent-sessions"> + <properties> + <help>Maximum number of concurrent session start attempts</help> + <valueHelp> + <format>u32:0-65535</format> + <description>Maximum number of concurrent session start attempts</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--allow-range --range 0-65535"/> + </constraint> + <constraintErrorMessage>Maximum concurent sessions must be in range 0-65535</constraintErrorMessage> + </properties> +</leafNode> +<!-- include end --> |