diff options
author | khramshinr <khramshinr@gmail.com> | 2024-05-13 17:26:55 +0600 |
---|---|---|
committer | khramshinr <khramshinr@gmail.com> | 2024-05-15 13:08:19 +0600 |
commit | 75d553932504c55e710265776e4865a238223e1f (patch) | |
tree | dff2caa2064ff3233b6aefa708eda39df3b6e0b2 /interface-definitions/include | |
parent | be41ac33f37bbf740d20021c66dc8fd048a68520 (diff) | |
download | vyos-1x-75d553932504c55e710265776e4865a238223e1f.tar.gz vyos-1x-75d553932504c55e710265776e4865a238223e1f.zip |
T5756: L2TP RADIUS backup and weight settings
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/accel-ppp/radius-additions.xml.i | 7 | ||||
-rw-r--r-- | interface-definitions/include/radius-priority.xml.i | 14 |
2 files changed, 21 insertions, 0 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 --> |