From e426b103b803b61e6593e1662c470d0f23a9a36f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 7 Jan 2021 17:12:21 +0100 Subject: xml: radius: T3192: split individual nodes to discrete includes Provide more re-usable nodes for future implementations. --- .../include/generic-disable-node.xml.in | 8 ++++ .../include/radius-server-ipv4.xml.i | 27 ++++++++++++ .../include/radius-server-key.xml.in | 7 ++++ .../include/radius-server-port.xml.in | 15 +++++++ interface-definitions/include/radius-server.xml.i | 48 ---------------------- interface-definitions/interfaces-wireless.xml.in | 2 +- interface-definitions/service_ipoe-server.xml.in | 2 +- interface-definitions/service_pppoe-server.xml.in | 2 +- interface-definitions/system-login.xml.in | 2 +- interface-definitions/vpn_l2tp.xml.in | 2 +- interface-definitions/vpn_openconnect.xml.in | 2 +- interface-definitions/vpn_pptp.xml.in | 2 +- interface-definitions/vpn_sstp.xml.in | 2 +- 13 files changed, 65 insertions(+), 56 deletions(-) create mode 100644 interface-definitions/include/generic-disable-node.xml.in create mode 100644 interface-definitions/include/radius-server-ipv4.xml.i create mode 100644 interface-definitions/include/radius-server-key.xml.in create mode 100644 interface-definitions/include/radius-server-port.xml.in delete mode 100644 interface-definitions/include/radius-server.xml.i diff --git a/interface-definitions/include/generic-disable-node.xml.in b/interface-definitions/include/generic-disable-node.xml.in new file mode 100644 index 000000000..3e41070bc --- /dev/null +++ b/interface-definitions/include/generic-disable-node.xml.in @@ -0,0 +1,8 @@ + + + + Temporary disable + + + + 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 @@ + + + + RADIUS based user authentication + + + #include + + + RADIUS server configuration + + ipv4 + RADIUS server IPv4 address + + + + + + + #include + #include + #include + + + + + diff --git a/interface-definitions/include/radius-server-key.xml.in b/interface-definitions/include/radius-server-key.xml.in new file mode 100644 index 000000000..1f487d3d0 --- /dev/null +++ b/interface-definitions/include/radius-server-key.xml.in @@ -0,0 +1,7 @@ + + + + Shared secret key + + + diff --git a/interface-definitions/include/radius-server-port.xml.in b/interface-definitions/include/radius-server-port.xml.in new file mode 100644 index 000000000..71b6bddb7 --- /dev/null +++ b/interface-definitions/include/radius-server-port.xml.in @@ -0,0 +1,15 @@ + + + + Authentication port + + u32:1-65535 + Numeric IP port (default: 1812) + + + + + + 1812 + + diff --git a/interface-definitions/include/radius-server.xml.i b/interface-definitions/include/radius-server.xml.i deleted file mode 100644 index c1dadd2a2..000000000 --- a/interface-definitions/include/radius-server.xml.i +++ /dev/null @@ -1,48 +0,0 @@ - - - - RADIUS based user authentication - - - #include - - - RADIUS server configuration - - ipv4 - RADIUS server IPv4 address - - - - - - - - - Temporary disable this server - - - - - - Shared secret key - - - - - Authentication port - - u32:1-65535 - Numeric IP port (default: 1812) - - - - - - 1812 - - - - - - diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in index 86f529278..f39e5618f 100644 --- a/interface-definitions/interfaces-wireless.xml.in +++ b/interface-definitions/interfaces-wireless.xml.in @@ -722,7 +722,7 @@ Invalid WPA pass phrase, must be 8 to 63 printable characters! - #include + #include diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in index ee09d01d6..07241fcc2 100644 --- a/interface-definitions/service_ipoe-server.xml.in +++ b/interface-definitions/service_ipoe-server.xml.in @@ -197,7 +197,7 @@ - #include + #include #include diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in index 6d11f41a0..5c0a66527 100644 --- a/interface-definitions/service_pppoe-server.xml.in +++ b/interface-definitions/service_pppoe-server.xml.in @@ -26,7 +26,7 @@ #include #include #include - #include + #include #include diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in index 812a50c8a..0bea6a22d 100644 --- a/interface-definitions/system-login.xml.in +++ b/interface-definitions/system-login.xml.in @@ -110,7 +110,7 @@ - #include + #include diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index 42da75a64..998a8c371 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -212,7 +212,7 @@ #include #include #include - #include + #include diff --git a/interface-definitions/vpn_openconnect.xml.in b/interface-definitions/vpn_openconnect.xml.in index ccf537e04..386d06509 100644 --- a/interface-definitions/vpn_openconnect.xml.in +++ b/interface-definitions/vpn_openconnect.xml.in @@ -57,7 +57,7 @@ - #include + #include diff --git a/interface-definitions/vpn_pptp.xml.in b/interface-definitions/vpn_pptp.xml.in index b17138e33..fe1bde27e 100644 --- a/interface-definitions/vpn_pptp.xml.in +++ b/interface-definitions/vpn_pptp.xml.in @@ -123,7 +123,7 @@ - #include + #include #include diff --git a/interface-definitions/vpn_sstp.xml.in b/interface-definitions/vpn_sstp.xml.in index 134858608..ebcb77db2 100644 --- a/interface-definitions/vpn_sstp.xml.in +++ b/interface-definitions/vpn_sstp.xml.in @@ -16,7 +16,7 @@ #include #include #include - #include + #include #include -- cgit v1.2.3