From c9eaafd9f808aba8d29be73054e11d37577e539a Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 30 Dec 2023 23:25:20 +0100 Subject: T5474: establish common file name pattern for XML conf mode commands We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in (cherry picked from commit 4ef110fd2c501b718344c72d495ad7e16d2bd465) --- interface-definitions/interfaces-wireguard.xml.in | 129 ---------------------- 1 file changed, 129 deletions(-) delete mode 100644 interface-definitions/interfaces-wireguard.xml.in (limited to 'interface-definitions/interfaces-wireguard.xml.in') diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in deleted file mode 100644 index 3c79cef28..000000000 --- a/interface-definitions/interfaces-wireguard.xml.in +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - WireGuard Interface - 379 - - wg[0-9]+ - - WireGuard interface must be named wgN - - wgN - WireGuard interface name - - - - #include - #include - #include - #include - #include - #include - - 1420 - - #include - #include - - - A 32-bit fwmark value set on all outgoing packets - - number - value which marks the packet for QoS/shaper - - - - - - 0 - - - - Base64 encoded private key - - [0-9a-zA-Z\+/]{43}= - - Key is not valid 44-character (32-bytes) base64 - - - - - peer alias - - [^ ]{1,100} - - peer alias too long (limit 100 characters) - - - #include - #include - - - base64 encoded public key - - [0-9a-zA-Z\+/]{43}= - - Key is not valid 44-character (32-bytes) base64 - - - - - base64 encoded preshared key - - [0-9a-zA-Z\+/]{43}= - - Key is not valid 44-character (32-bytes) base64 - - - - - IP addresses allowed to traverse the peer - - - - - - - - - IP address of tunnel endpoint - - ipv4 - IPv4 address of remote tunnel endpoint - - - ipv6 - IPv6 address of remote tunnel endpoint - - - - - - - - #include - - - Interval to send keepalive messages - - u32:1-65535 - Interval in seconds - - - - - - - - - #include - #include - #include - - - - - -- cgit v1.2.3