summaryrefslogtreecommitdiff
path: root/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/radius-server-ipv4-ipv6.xml.i')
-rw-r--r--interface-definitions/include/radius-server-ipv4-ipv6.xml.i20
1 files changed, 10 insertions, 10 deletions
diff --git a/interface-definitions/include/radius-server-ipv4-ipv6.xml.i b/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
index efd418bb2..e454b9025 100644
--- a/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
+++ b/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
@@ -25,26 +25,26 @@
#include <include/radius-server-auth-port.xml.i>
</children>
</tagNode>
- <leafNode name="source-address">
+ #include <include/source-address-ipv4-ipv6-multi.xml.i>
+ <leafNode name="security-mode">
<properties>
- <help>Source IP address used to initiate connection</help>
+ <help>Security mode for RADIUS authentication</help>
<completionHelp>
- <script>${vyos_completion_dir}/list_local_ips.sh --both</script>
+ <list>mandatory optional</list>
</completionHelp>
<valueHelp>
- <format>ipv4</format>
- <description>IPv4 source address</description>
+ <format>mandatory</format>
+ <description>Deny access immediately if RADIUS answers with Access-Reject</description>
</valueHelp>
<valueHelp>
- <format>ipv6</format>
- <description>IPv6 source address</description>
+ <format>optional</format>
+ <description>Pass to the next authentication method if RADIUS answers with Access-Reject</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <regex>(mandatory|optional)</regex>
</constraint>
- <multi/>
</properties>
+ <defaultValue>optional</defaultValue>
</leafNode>
</children>
</node>