diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-16 07:30:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 07:30:44 +0200 |
commit | 158dd9a8adfa08d4657eb80a772ce4e0ec9507b5 (patch) | |
tree | 2e29a5eea139c61c70f4a413fd949056deab4501 /interface-definitions | |
parent | 70f9fa05da4355c2f9d8cd113b62b7b7ad5b4946 (diff) | |
parent | 75d553932504c55e710265776e4865a238223e1f (diff) | |
download | vyos-1x-158dd9a8adfa08d4657eb80a772ce4e0ec9507b5.tar.gz vyos-1x-158dd9a8adfa08d4657eb80a772ce4e0ec9507b5.zip |
Merge pull request #3450 from HollyGurza/T5756
T5756: L2TP RADIUS backup and weight settings
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/accel-ppp/radius-additions.xml.i | 7 | ||||
-rw-r--r-- | interface-definitions/include/radius-priority.xml.i | 14 | ||||
-rw-r--r-- | interface-definitions/system_login.xml.in | 11 |
3 files changed, 22 insertions, 10 deletions
diff --git a/interface-definitions/include/accel-ppp/radius-additions.xml.i b/interface-definitions/include/accel-ppp/radius-additions.xml.i index 3c2eb09eb..5222ba864 100644 --- a/interface-definitions/include/accel-ppp/radius-additions.xml.i +++ b/interface-definitions/include/accel-ppp/radius-additions.xml.i @@ -57,6 +57,13 @@ </properties> <defaultValue>0</defaultValue> </leafNode> + #include <include/radius-priority.xml.i> + <leafNode name="backup"> + <properties> + <help>Use backup server if other servers are not available</help> + <valueless/> + </properties> + </leafNode> </children> </tagNode> <leafNode name="timeout"> diff --git a/interface-definitions/include/radius-priority.xml.i b/interface-definitions/include/radius-priority.xml.i new file mode 100644 index 000000000..f77f5016e --- /dev/null +++ b/interface-definitions/include/radius-priority.xml.i @@ -0,0 +1,14 @@ +<!-- include start from radius-priority.xml.i --> +<leafNode name="priority"> + <properties> + <help>Server priority</help> + <valueHelp> + <format>u32:1-255</format> + <description>Server priority</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-255"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/system_login.xml.in b/interface-definitions/system_login.xml.in index e94bb7219..f6c8021d3 100644 --- a/interface-definitions/system_login.xml.in +++ b/interface-definitions/system_login.xml.in @@ -202,17 +202,8 @@ <tagNode name="server"> <children> #include <include/radius-timeout.xml.i> + #include <include/radius-priority.xml.i> <leafNode name="priority"> - <properties> - <help>Server priority</help> - <valueHelp> - <format>u32:1-255</format> - <description>Server priority</description> - </valueHelp> - <constraint> - <validator name="numeric" argument="--range 1-255"/> - </constraint> - </properties> <defaultValue>255</defaultValue> </leafNode> </children> |