summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-04 19:22:15 +0200
committerGitHub <noreply@github.com>2023-04-04 19:22:15 +0200
commite520e08410131a1a65723fd32aeb1d278efa42c4 (patch)
tree45b36bc836b14eef4b365700fc494d2514f7cf90 /interface-definitions
parent94b65bb3936b607a6bc85fe23176ff855c722519 (diff)
parenta1ffb5e73760e0caaca2deb8fc5a18840f968f1c (diff)
downloadvyos-1x-e520e08410131a1a65723fd32aeb1d278efa42c4.tar.gz
vyos-1x-e520e08410131a1a65723fd32aeb1d278efa42c4.zip
Merge pull request #1939 from sever-sever/T5145
T5145: Add maximum number of all logins on system
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-login.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in
index b00741ffe..258913929 100644
--- a/interface-definitions/system-login.xml.in
+++ b/interface-definitions/system-login.xml.in
@@ -225,6 +225,19 @@
#include <include/interface/vrf.xml.i>
</children>
</node>
+ <leafNode name="max-login-session">
+ <properties>
+ <help>Maximum number of all login sessions</help>
+ <valueHelp>
+ <format>u32:1-65536</format>
+ <description>Maximum number of all login sessions</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65536"/>
+ </constraint>
+ <constraintErrorMessage>Maximum logins must be between 1 and 65536</constraintErrorMessage>
+ </properties>
+ </leafNode>
<leafNode name="timeout">
<properties>
<help>Session timeout</help>