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_pppoe.xml.in | 153 ++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 interface-definitions/interfaces_pppoe.xml.in (limited to 'interface-definitions/interfaces_pppoe.xml.in') diff --git a/interface-definitions/interfaces_pppoe.xml.in b/interface-definitions/interfaces_pppoe.xml.in new file mode 100644 index 000000000..56660bc15 --- /dev/null +++ b/interface-definitions/interfaces_pppoe.xml.in @@ -0,0 +1,153 @@ + + + + + + + Point-to-Point Protocol over Ethernet (PPPoE) Interface + 322 + + pppoe[0-9]+ + + PPPoE interface must be named pppoeN + + pppoeN + PPPoE dialer interface name + + + + #include + #include + #include + #include + #include + #include + #include + #include + + + Delay before disconnecting idle session (in seconds) + + u32:0-86400 + Idle timeout in seconds + + + + + Timeout must be in range 0 to 86400 + + + + + PPPoE RFC2516 host-uniq tag + + txt + Host-uniq tag as byte string in HEX + + + ([a-fA-F0-9][a-fA-F0-9]){1,18} + + Host-uniq must be specified as hex-adecimal byte-string (even number of HEX characters) + + + + + Delay before re-dial to the access concentrator when PPP session terminated by peer (in seconds) + + u32:0-86400 + Holdoff time in seconds + + + + + Holdoff must be in range 0 to 86400 + + 30 + + + + IPv4 routing parameters + + + #include + #include + #include + + + + + IPv6 routing parameters + + + + + IPv6 address configuration modes + + + #include + + + #include + #include + + + #include + + + IPv4 address of local end of the PPPoE link + + ipv4 + Address of local end of the PPPoE link + + + + + + + #include + #include + + 1492 + + + + Maximum Receive Unit (MRU) (default: MTU value) + + u32:128-16384 + Maximum Receive Unit in byte + + + + + MRU must be between 128 and 16384 + + + #include + + + IPv4 address of remote end of the PPPoE link + + ipv4 + Address of remote end of the PPPoE link + + + + + + + + + Service name, only connect to access concentrators advertising this + + [a-zA-Z0-9]+ + + Service name must be alphanumeric only + + + #include + #include + + + + + -- cgit v1.2.3