summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/base-reachable-time.xml.i
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-04-25 08:23:14 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-25 09:15:54 +0000
commitec94901d7c87a1b64c9401bde4afefcb96b7dd77 (patch)
tree44a579429d99c1286349c66a74c2331289e8b6cb /interface-definitions/include/interface/base-reachable-time.xml.i
parent018b940f685b01a9765657ec25724853cff25188 (diff)
downloadvyos-1x-ec94901d7c87a1b64c9401bde4afefcb96b7dd77.tar.gz
vyos-1x-ec94901d7c87a1b64c9401bde4afefcb96b7dd77.zip
T6258: Add sysctl base-reachable-time for IPv6
Add abiilty to change `base_reachable_time_ms` option /proc/sys/net/ipv6/neigh/{ifname}/base_reachable_time_ms (cherry picked from commit 0bf4b570fe2d239b9fbabd3ae801ad3f04a06bde)
Diffstat (limited to 'interface-definitions/include/interface/base-reachable-time.xml.i')
-rw-r--r--interface-definitions/include/interface/base-reachable-time.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/base-reachable-time.xml.i b/interface-definitions/include/interface/base-reachable-time.xml.i
new file mode 100644
index 000000000..fb0d70101
--- /dev/null
+++ b/interface-definitions/include/interface/base-reachable-time.xml.i
@@ -0,0 +1,16 @@
+<!-- include start from interface/base-reachable-time.xml.i -->
+<leafNode name="base-reachable-time">
+ <properties>
+ <help>Base reachable time in seconds</help>
+ <valueHelp>
+ <format>u32:1-86400</format>
+ <description>Base reachable time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-86400"/>
+ </constraint>
+ <constraintErrorMessage>Base reachable time must be between 1 and 86400 seconds</constraintErrorMessage>
+ </properties>
+ <defaultValue>30</defaultValue>
+</leafNode>
+<!-- include end -->