summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-29 20:00:18 +0200
committerChristian Poessinger <christian@poessinger.com>2022-06-29 20:01:38 +0200
commitcefc7ce9bfcf7750700e73edbc21864fe8ab0bee (patch)
treecab0b8589f0052a3de32efdd7c79a2ebb3ec3b9d /interface-definitions
parent6b64f2eeb192ee1133d3f90be2ae2854a0c00ddc (diff)
downloadvyos-1x-cefc7ce9bfcf7750700e73edbc21864fe8ab0bee.tar.gz
vyos-1x-cefc7ce9bfcf7750700e73edbc21864fe8ab0bee.zip
router-advert: T4477: support RDNSS lifetime option
set service router-advert interface eth0 name-server-lifetime <value>
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service-router-advert.xml.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/service-router-advert.xml.in b/interface-definitions/service-router-advert.xml.in
index 40dac23ca..258b7b749 100644
--- a/interface-definitions/service-router-advert.xml.in
+++ b/interface-definitions/service-router-advert.xml.in
@@ -136,6 +136,23 @@
</children>
</node>
#include <include/name-server-ipv6.xml.i>
+ <leafNode name="name-server-lifetime">
+ <properties>
+ <help>Maximum duration how long the RDNSS entries are used</help>
+ <valueHelp>
+ <format>u32:0</format>
+ <description>Name-servers should no longer be used</description>
+ </valueHelp>
+ <valueHelp>
+ <format>u32:1-7200</format>
+ <description>Maximum interval in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-7200"/>
+ </constraint>
+ <constraintErrorMessage>Maximum interval must be between 1 and 7200 seconds</constraintErrorMessage>
+ </properties>
+ </leafNode>
<leafNode name="other-config-flag">
<properties>
<help>Hosts use the administered (stateful) protocol for autoconfiguration of other (non-address) information</help>