summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/base-reachable-time.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-25 11:13:30 +0200
committerGitHub <noreply@github.com>2024-04-25 11:13:30 +0200
commit13af058504c67dfabced5c8a1762e04ffde119ce (patch)
tree00ac67d3d1f09a536a9e9b94ce9d4858c4405f57 /interface-definitions/include/interface/base-reachable-time.xml.i
parentafb910c1efbe5f7c98c25688f0eb2546db218dd3 (diff)
parent0bf4b570fe2d239b9fbabd3ae801ad3f04a06bde (diff)
downloadvyos-1x-13af058504c67dfabced5c8a1762e04ffde119ce.tar.gz
vyos-1x-13af058504c67dfabced5c8a1762e04ffde119ce.zip
Merge pull request #3361 from sever-sever/T6258
T6258: Add sysctl base-reachable-time for IPv6
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 -->