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. --- interface-definitions/include/radius-server-key.xml.in | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 interface-definitions/include/radius-server-key.xml.in (limited to 'interface-definitions/include/radius-server-key.xml.in') 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 + + + -- cgit v1.2.3 From 582f52764afce78b9be0d95b88f6dc8d0bff9690 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 7 Jan 2021 17:25:30 +0100 Subject: xml: include: provide generic include for disable node --- interface-definitions/bcast-relay.xml.in | 14 ++----------- interface-definitions/dhcp-server.xml.in | 21 +++---------------- interface-definitions/dhcpv6-server.xml.in | 21 +++---------------- interface-definitions/firewall-options.xml.in | 7 +------ interface-definitions/igmp-proxy.xml.in | 7 +------ .../include/accel-auth-local-users.xml.i | 7 +------ .../include/generic-disable-node.xml.i | 8 ++++++++ .../include/generic-disable-node.xml.in | 8 -------- .../include/interface-eapol.xml.i | 24 +++++++++++----------- interface-definitions/include/nat-rule.xml.i | 7 +------ .../include/radius-server-ipv4.xml.i | 2 +- .../include/radius-server-key.xml.in | 14 ++++++------- interface-definitions/interfaces-openvpn.xml.in | 21 +++---------------- interface-definitions/interfaces-wireguard.xml.in | 7 +------ interface-definitions/lldp.xml.in | 7 +------ interface-definitions/nat.xml.in | 7 +------ interface-definitions/service_mdns-repeater.xml.in | 7 +------ interface-definitions/service_webproxy.xml.in | 7 +------ interface-definitions/vpn_ipsec.xml.in | 7 +------ interface-definitions/vpn_openconnect.xml.in | 7 +------ interface-definitions/vpn_pptp.xml.in | 6 +----- interface-definitions/vrrp.xml.in | 7 +------ 22 files changed, 52 insertions(+), 171 deletions(-) create mode 100644 interface-definitions/include/generic-disable-node.xml.i delete mode 100644 interface-definitions/include/generic-disable-node.xml.in (limited to 'interface-definitions/include/radius-server-key.xml.in') diff --git a/interface-definitions/bcast-relay.xml.in b/interface-definitions/bcast-relay.xml.in index b691f79fa..1b354d885 100644 --- a/interface-definitions/bcast-relay.xml.in +++ b/interface-definitions/bcast-relay.xml.in @@ -9,12 +9,7 @@ 990 - - - Globally disable broadcast relay service - - - + #include Unique ID for each UDP port to forward @@ -27,12 +22,7 @@ - - - Disable broadcast relay service instance - - - + #include Set source IP of forwarded packets, otherwise original senders address is used diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 2c1609d94..912e4eaf7 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -9,12 +9,7 @@ 911 - - - Disable DHCP server - - - + #include Dynamically update Domain Name System (RFC4702) @@ -63,12 +58,7 @@ Shared-network-name description - - - Option to disable DHCP configuration for shared-network - - - + #include Additional shared-network parameters for DHCP server. @@ -330,12 +320,7 @@ Invalid static mapping name. May only contain letters, numbers and .-_ - - - Option to disable static mapping - - - + #include Fixed IP address of static mapping diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in index 37bc7e03e..fb0e79c47 100644 --- a/interface-definitions/dhcpv6-server.xml.in +++ b/interface-definitions/dhcpv6-server.xml.in @@ -9,12 +9,7 @@ 900 - - - Option to disable DHCPv6 server - - - + #include Preference of this DHCPv6 server compared with others @@ -37,12 +32,7 @@ Invalid DHCPv6 shared network name. May only contain letters, numbers and .-_ - - - Option to disable DHCPv6 configuration for shared-network - - - + #include Common options to distribute to all clients, including stateless clients @@ -324,12 +314,7 @@ Invalid static mapping name. May only contain letters, numbers and .-_ - - - Option to disable static mapping - - - + #include Client identifier (DUID) for this static mapping diff --git a/interface-definitions/firewall-options.xml.in b/interface-definitions/firewall-options.xml.in index defd44f06..8d9225a9a 100644 --- a/interface-definitions/firewall-options.xml.in +++ b/interface-definitions/firewall-options.xml.in @@ -16,12 +16,7 @@ - - - Disable this rule - - - + #include Adjust MSS for IPv4 transit packets diff --git a/interface-definitions/igmp-proxy.xml.in b/interface-definitions/igmp-proxy.xml.in index b9c52794f..d0f44eada 100644 --- a/interface-definitions/igmp-proxy.xml.in +++ b/interface-definitions/igmp-proxy.xml.in @@ -9,12 +9,7 @@ 740 - - - Option to disable IGMP proxy - - - + #include Option to disable "quickleave" diff --git a/interface-definitions/include/accel-auth-local-users.xml.i b/interface-definitions/include/accel-auth-local-users.xml.i index 0d66b8135..35c7a2a06 100644 --- a/interface-definitions/include/accel-auth-local-users.xml.i +++ b/interface-definitions/include/accel-auth-local-users.xml.i @@ -9,12 +9,7 @@ User name for authentication - - - Option to disable a PPPoE Server user - - - + #include Password for authentication diff --git a/interface-definitions/include/generic-disable-node.xml.i b/interface-definitions/include/generic-disable-node.xml.i new file mode 100644 index 000000000..520383afb --- /dev/null +++ b/interface-definitions/include/generic-disable-node.xml.i @@ -0,0 +1,8 @@ + + + + Temporary disable + + + + diff --git a/interface-definitions/include/generic-disable-node.xml.in b/interface-definitions/include/generic-disable-node.xml.in deleted file mode 100644 index 3e41070bc..000000000 --- a/interface-definitions/include/generic-disable-node.xml.in +++ /dev/null @@ -1,8 +0,0 @@ - - - - Temporary disable - - - - diff --git a/interface-definitions/include/interface-eapol.xml.i b/interface-definitions/include/interface-eapol.xml.i index 94476f0f1..8b33b4acf 100644 --- a/interface-definitions/include/interface-eapol.xml.i +++ b/interface-definitions/include/interface-eapol.xml.i @@ -1,12 +1,12 @@ - - - - Extensible Authentication Protocol over Local Area Network - - - #include - #include - #include - - - + + + + Extensible Authentication Protocol over Local Area Network + + + #include + #include + #include + + + diff --git a/interface-definitions/include/nat-rule.xml.i b/interface-definitions/include/nat-rule.xml.i index e034ef4dd..7ef90f07e 100644 --- a/interface-definitions/include/nat-rule.xml.i +++ b/interface-definitions/include/nat-rule.xml.i @@ -26,12 +26,7 @@ #include - - - Disable NAT rule - - - + #include Exclude packets matching this rule from NAT diff --git a/interface-definitions/include/radius-server-ipv4.xml.i b/interface-definitions/include/radius-server-ipv4.xml.i index 7c5e4eb7d..9c73c4c49 100644 --- a/interface-definitions/include/radius-server-ipv4.xml.i +++ b/interface-definitions/include/radius-server-ipv4.xml.i @@ -17,7 +17,7 @@ - #include + #include #include #include diff --git a/interface-definitions/include/radius-server-key.xml.in b/interface-definitions/include/radius-server-key.xml.in index 1f487d3d0..32a01b402 100644 --- a/interface-definitions/include/radius-server-key.xml.in +++ b/interface-definitions/include/radius-server-key.xml.in @@ -1,7 +1,7 @@ - - - - Shared secret key - - - + + + + Shared secret key + + + diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in index 34040bf72..527f7fd54 100644 --- a/interface-definitions/interfaces-openvpn.xml.in +++ b/interface-definitions/interfaces-openvpn.xml.in @@ -418,12 +418,7 @@ - - - Option to disable client connection - - - + #include IP address of the client @@ -482,12 +477,7 @@ Pool of client IPv4 addresses - - - Disable client IP pool - - - + #include First IP address in the pool @@ -546,12 +536,7 @@ - - - Disable client IPv6 pool - - - + #include diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in index 92c9f510c..acf5082d6 100644 --- a/interface-definitions/interfaces-wireguard.xml.in +++ b/interface-definitions/interfaces-wireguard.xml.in @@ -55,12 +55,7 @@ peer alias too long (limit 100 characters) - - - disables peer - - - + #include base64 encoded public key diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in index 950b267ef..9fdffcea1 100644 --- a/interface-definitions/lldp.xml.in +++ b/interface-definitions/lldp.xml.in @@ -25,12 +25,7 @@ - - - Disable lldp on this interface - - - + #include LLDP-MED location data [REQUIRED] diff --git a/interface-definitions/nat.xml.in b/interface-definitions/nat.xml.in index 00aaddb17..d6bed5b27 100644 --- a/interface-definitions/nat.xml.in +++ b/interface-definitions/nat.xml.in @@ -79,12 +79,7 @@ Rule description - - - Disable NAT rule - - - + #include #include diff --git a/interface-definitions/service_mdns-repeater.xml.in b/interface-definitions/service_mdns-repeater.xml.in index e21b1b27c..33ef9a434 100644 --- a/interface-definitions/service_mdns-repeater.xml.in +++ b/interface-definitions/service_mdns-repeater.xml.in @@ -13,12 +13,7 @@ 990 - - - Disable mDNS repeater service - - - + #include Interface to repeat mDNS advertisements [REQUIRED] diff --git a/interface-definitions/service_webproxy.xml.in b/interface-definitions/service_webproxy.xml.in index 4cd8138ec..7cb0f7ece 100644 --- a/interface-definitions/service_webproxy.xml.in +++ b/interface-definitions/service_webproxy.xml.in @@ -394,12 +394,7 @@ URL filtering settings - - - Disable URL filtering - - - + #include URL filtering via squidGuard redirector diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index daf98a833..426d7e71c 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -1045,12 +1045,7 @@ - - - Option to disable vpn tunnel - - - + #include ESP group name diff --git a/interface-definitions/vpn_openconnect.xml.in b/interface-definitions/vpn_openconnect.xml.in index 386d06509..054e027fc 100644 --- a/interface-definitions/vpn_openconnect.xml.in +++ b/interface-definitions/vpn_openconnect.xml.in @@ -42,12 +42,7 @@ User name for authentication - - - Option to disable a SSL VPN Server user - - - + #include Password for authentication diff --git a/interface-definitions/vpn_pptp.xml.in b/interface-definitions/vpn_pptp.xml.in index fe1bde27e..72eda8752 100644 --- a/interface-definitions/vpn_pptp.xml.in +++ b/interface-definitions/vpn_pptp.xml.in @@ -104,11 +104,7 @@ User name for authentication - - - Option to disable a PPTP Server user - - + #include Password for authentication diff --git a/interface-definitions/vrrp.xml.in b/interface-definitions/vrrp.xml.in index c6a32930f..caa9f4a33 100644 --- a/interface-definitions/vrrp.xml.in +++ b/interface-definitions/vrrp.xml.in @@ -73,12 +73,7 @@ Group description - - - - Disable VRRP group - - + #include Health check script -- cgit v1.2.3