diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-06-29 09:21:05 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-29 19:56:42 +0200 |
commit | 6fdb90a43e910841d2a73960446cdef2d094763f (patch) | |
tree | fbf747a59976bc1a4efe845ed75aa0ca34973a80 /interface-definitions | |
parent | b50f2ffb470eb6cab070166f297219800f91f4c3 (diff) | |
download | vyos-1x-6fdb90a43e910841d2a73960446cdef2d094763f.tar.gz vyos-1x-6fdb90a43e910841d2a73960446cdef2d094763f.zip |
pppoe-server: T3405: Add interface cache feature
(cherry picked from commit 065c6b620cb52a3235c7b6e210d34dc8cb943b95)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i | 14 | ||||
-rw-r--r-- | interface-definitions/service_pppoe-server.xml.in | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i b/interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i new file mode 100644 index 000000000..9f223d7ed --- /dev/null +++ b/interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i @@ -0,0 +1,14 @@ +<!-- include start from accel-ppp/ppp-interface-cache.xml.i --> +<leafNode name="interface-cache"> + <properties> + <help>PPP interface cache</help> + <valueHelp> + <format>1-256000</format> + <description>Count of interfaces to keep in cache</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-256000"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in index dc8af67af..9d3420ed2 100644 --- a/interface-definitions/service_pppoe-server.xml.in +++ b/interface-definitions/service_pppoe-server.xml.in @@ -164,6 +164,7 @@ #include <include/accel-ppp/ppp-mppe.xml.i> #include <include/accel-ppp/lcp-echo-interval-failure.xml.i> #include <include/accel-ppp/lcp-echo-timeout.xml.i> + #include <include/accel-ppp/ppp-interface-cache.xml.i> <leafNode name="ipv4"> <properties> <help>IPv4 (IPCP) negotiation algorithm</help> |