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 18:53:50 +0100
commiteaf4b60c9e7fa094d17b87b29bebaf81182ee7a1 (patch)
tree35c95b88220420028b20dc377913e65adde4e593 /interface-definitions/include/arp-ndp-table-size.xml.i
parent87ccafd06b897b63f847e6b47cf72b951b0ed223 (diff)
downloadvyos-1x-eaf4b60c9e7fa094d17b87b29bebaf81182ee7a1.tar.gz
vyos-1x-eaf4b60c9e7fa094d17b87b29bebaf81182ee7a1.zip
xml: T4319: use common building block for table-size CLI option
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 -->