summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-arp-cache-timeout.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-06 18:18:12 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-06 20:58:56 +0100
commit22091b99ce884a7bf81d65bba0d0a705776ba471 (patch)
tree945c1ab2dc89405ad0314ae7b26206914e94467d /interface-definitions/include/interface-arp-cache-timeout.xml.i
parent24c99947f4a7ca8b3519a69f8c61eba8af55d859 (diff)
downloadvyos-1x-22091b99ce884a7bf81d65bba0d0a705776ba471.tar.gz
vyos-1x-22091b99ce884a7bf81d65bba0d0a705776ba471.zip
T1843: use include files for interface arp-cache-timeout configuration
Diffstat (limited to 'interface-definitions/include/interface-arp-cache-timeout.xml.i')
-rw-r--r--interface-definitions/include/interface-arp-cache-timeout.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-arp-cache-timeout.xml.i b/interface-definitions/include/interface-arp-cache-timeout.xml.i
new file mode 100644
index 000000000..81d35f593
--- /dev/null
+++ b/interface-definitions/include/interface-arp-cache-timeout.xml.i
@@ -0,0 +1,13 @@
+<leafNode name="arp-cache-timeout">
+ <properties>
+ <help>ARP cache entry timeout in seconds</help>
+ <valueHelp>
+ <format>1-86400</format>
+ <description>ARP cache entry timout in seconds (default 30)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-86400"/>
+ </constraint>
+ <constraintErrorMessage>ARP cache entry timeout must be between 1 and 86400 seconds</constraintErrorMessage>
+ </properties>
+</leafNode>