summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-06-29 09:21:05 +0000
committerChristian Poessinger <christian@poessinger.com>2021-06-29 19:55:11 +0200
commit065c6b620cb52a3235c7b6e210d34dc8cb943b95 (patch)
tree1c7d8c66a0014b16fbac95ecb1e4706863caae4b /interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i
parent6152084f5f497e2f4827ec5271b9112d976cf19b (diff)
downloadvyos-1x-065c6b620cb52a3235c7b6e210d34dc8cb943b95.tar.gz
vyos-1x-065c6b620cb52a3235c7b6e210d34dc8cb943b95.zip
pppoe-server: T3405: Add interface cache feature
Diffstat (limited to 'interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i')
-rw-r--r--interface-definitions/include/accel-ppp/ppp-interface-cache.xml.i14
1 files changed, 14 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 -->