From 38f31c805d7c79df7405a7b65d6775a4d762eb90 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 29 Nov 2019 22:07:05 +0100 Subject: pppoe: T1318: add first version of new XML/Python implementation vyos@vyos# show interfaces pppoe pppoe pppoe0 { default-route force link eth2.7 mtu 400 name-server auto password 12345678 user-id vyos@vyos.io } --- interface-definitions/interfaces-pppoe.xml.in | 185 ++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 interface-definitions/interfaces-pppoe.xml.in (limited to 'interface-definitions') diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in new file mode 100644 index 000000000..f5431852a --- /dev/null +++ b/interface-definitions/interfaces-pppoe.xml.in @@ -0,0 +1,185 @@ + + + + + + + Point-to-Point Protocol over Ethernet (PPPoE) + 320 + + pppoe[0-9]+$ + + + PPPoE interface must be named pppoeN + + pppoeN + PPPoE interface name (1-15) + + + + + + Access concentrator name (only connect to this concentrator) + + [a-zA-Z0-9]+$ + + Access concentrator name must be composed of uppper and lower case letters or numbers only + + + + + Automatic establishment of PPPOE connection when traffic is sent + + + + + + Enable/Disable default route to peer when link comes up + + auto none force + + + auto + Install default route when link comes up + + + none + Do not install default route when link comes up + + + force + Install default route and replace pre-existing when link comes up + + + (auto|none|force) + + Must be either 'auto', 'none' or 'force' + + + + + Disable interface + + + + + + Delay before disconnecting idle session (in seconds) + + n + Idle timeout in seconds + + + + + + + + IPv6 address configuration modes + + + + + Enable Stateless Address Autoconfiguration (SLAAC) + + + + + + + + Activate IPv6 support on this connection + + + + + + + + Physical Interface used for this PPPoE session + + + + + + + + IPv4 address of local end of the PPPoE link + + ipv4 + Address of local end of the PPPoE link + + + + + + + + + Maximum Transmission Unit (MTU) + + 68-1500 + Maximum Transmission Unit (default 1492) + + + + + MTU must be between 68 and 1500 + + + + + Enable/Disable use of name server entries from peer + + auto none + + + auto + Install default route when link comes up + + + none + Do not install default route when link comes up + + + (auto|none) + + Must be either 'auto' or 'none' + + + + + Password for authenticating local machine to PPPoE server + + + + + 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 composed of uppper and lower case letters or numbers only + + + + + Authentication name supplied to PPPoE server + + + + + + + -- cgit v1.2.3