summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-03-13 13:18:26 +0100
committerGitHub <noreply@github.com>2024-03-13 13:18:26 +0100
commit4dfc9b7c195e9cf3f57afbf8c84d701b73e83a8f (patch)
treece70aa88cdd993bba7b797adef58b7ee6162aa76 /interface-definitions
parent729d6785686284a61504dbfb8217888a485510dd (diff)
parent306e83a66e2e580417d87e3871200cad6c09cb49 (diff)
downloadvyos-1x-4dfc9b7c195e9cf3f57afbf8c84d701b73e83a8f.tar.gz
vyos-1x-4dfc9b7c195e9cf3f57afbf8c84d701b73e83a8f.zip
Merge pull request #3129 from vyos/mergify/bp/sagitta/pr-3125
radvd: T6118: add nat64prefix support RFC8781 (backport #3125)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_router-advert.xml.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/interface-definitions/service_router-advert.xml.in b/interface-definitions/service_router-advert.xml.in
index 16c29022d..166a4a0cf 100644
--- a/interface-definitions/service_router-advert.xml.in
+++ b/interface-definitions/service_router-advert.xml.in
@@ -225,6 +225,36 @@
</leafNode>
</children>
</tagNode>
+ <tagNode name="nat64prefix">
+ <properties>
+ <help>NAT64 prefix included in the router advertisements</help>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 prefix to be advertized</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-prefix"/>
+ </constraint>
+ </properties>
+ <children>
+ <leafNode name="valid-lifetime">
+ <properties>
+ <help>Time in seconds that the prefix will remain valid</help>
+ <completionHelp>
+ <list>infinity</list>
+ </completionHelp>
+ <valueHelp>
+ <format>u32:4-65528</format>
+ <description>Time in seconds that the prefix will remain valid</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 4-65528"/>
+ </constraint>
+ </properties>
+ <defaultValue>65528</defaultValue>
+ </leafNode>
+ </children>
+ </tagNode>
<tagNode name="prefix">
<properties>
<help>IPv6 prefix to be advertised in Router Advertisements (RAs)</help>