summaryrefslogtreecommitdiff
path: root/interface-definitions/include/arp-ndp-table-size.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-25 18:53:50 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-25 19:15:48 +0100
commitd2ad75c59f2e2776d1ce663b64af77a22a7764fd (patch)
treebb9f1ffd19578c97fc3037e0662c551b92645076 /interface-definitions/include/arp-ndp-table-size.xml.i
parentae72c771677b36d7c00369d1bc7467734a93b886 (diff)
downloadvyos-1x-d2ad75c59f2e2776d1ce663b64af77a22a7764fd.tar.gz
vyos-1x-d2ad75c59f2e2776d1ce663b64af77a22a7764fd.zip
xml: T4319: use common building block for table-size CLI option
(cherry picked from commit eaf4b60c9e7fa094d17b87b29bebaf81182ee7a1)
Diffstat (limited to 'interface-definitions/include/arp-ndp-table-size.xml.i')
-rw-r--r--interface-definitions/include/arp-ndp-table-size.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/arp-ndp-table-size.xml.i b/interface-definitions/include/arp-ndp-table-size.xml.i
new file mode 100644
index 000000000..dec86e91a
--- /dev/null
+++ b/interface-definitions/include/arp-ndp-table-size.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from arp-ndp-table-size.xml.i -->
+<leafNode name="table-size">
+ <properties>
+ <help>Maximum number of entries to keep in the cache</help>
+ <completionHelp>
+ <list>1024 2048 4096 8192 16384 32768</list>
+ </completionHelp>
+ <constraint>
+ <regex>(1024|2048|4096|8192|16384|32768)</regex>
+ </constraint>
+ </properties>
+ <defaultValue>8192</defaultValue>
+</leafNode>
+<!-- include end -->