summaryrefslogtreecommitdiff
path: root/interface-definitions/include/radius-server-ipv4.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-07 17:12:21 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-07 17:12:21 +0100
commite426b103b803b61e6593e1662c470d0f23a9a36f (patch)
tree3c84759c98586dcd77ff85854d90f74f1abbd0f2 /interface-definitions/include/radius-server-ipv4.xml.i
parent1f82b771f685bbb493958cdeabf05549266f2aa8 (diff)
downloadvyos-1x-e426b103b803b61e6593e1662c470d0f23a9a36f.tar.gz
vyos-1x-e426b103b803b61e6593e1662c470d0f23a9a36f.zip
xml: radius: T3192: split individual nodes to discrete includes
Provide more re-usable nodes for future implementations.
Diffstat (limited to 'interface-definitions/include/radius-server-ipv4.xml.i')
-rw-r--r--interface-definitions/include/radius-server-ipv4.xml.i27
1 files changed, 27 insertions, 0 deletions
diff --git a/interface-definitions/include/radius-server-ipv4.xml.i b/interface-definitions/include/radius-server-ipv4.xml.i
new file mode 100644
index 000000000..7c5e4eb7d
--- /dev/null
+++ b/interface-definitions/include/radius-server-ipv4.xml.i
@@ -0,0 +1,27 @@
+<!-- included start from radius-server-ipv4.xml.i -->
+<node name="radius">
+ <properties>
+ <help>RADIUS based user authentication</help>
+ </properties>
+ <children>
+ #include <include/source-address-ipv4.xml.i>
+ <tagNode name="server">
+ <properties>
+ <help>RADIUS server configuration</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>RADIUS server IPv4 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ <children>
+ #include <include/generic-disable-node.xml.in>
+ #include <include/radius-server-key.xml.in>
+ #include <include/radius-server-port.xml.in>
+ </children>
+ </tagNode>
+ </children>
+</node>
+<!-- included end -->