summaryrefslogtreecommitdiff
path: root/interface-definitions
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
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')
-rw-r--r--interface-definitions/include/interface/base-reachable-time.xml.i16
-rw-r--r--interface-definitions/include/interface/ipv6-options.xml.i1
2 files changed, 17 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 -->
diff --git a/interface-definitions/include/interface/ipv6-options.xml.i b/interface-definitions/include/interface/ipv6-options.xml.i
index edb4a74f9..ec6ec64ee 100644
--- a/interface-definitions/include/interface/ipv6-options.xml.i
+++ b/interface-definitions/include/interface/ipv6-options.xml.i
@@ -5,6 +5,7 @@
</properties>
<children>
#include <include/interface/adjust-mss.xml.i>
+ #include <include/interface/base-reachable-time.xml.i>
#include <include/interface/disable-forwarding.xml.i>
#include <include/interface/ipv6-accept-dad.xml.i>
#include <include/interface/ipv6-address.xml.i>