summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2024-01-24 00:14:52 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2024-01-24 22:17:25 +0100
commit7253c8a3d4649e2c253a4d26c8123a65aedd46e7 (patch)
treed9f4eaaf3d77543f49929bb1659948c78b496529 /interface-definitions
parent8e2112261c68189c2c78455c3e1f32d7f5447ab9 (diff)
downloadvyos-1x-7253c8a3d4649e2c253a4d26c8123a65aedd46e7.tar.gz
vyos-1x-7253c8a3d4649e2c253a4d26c8123a65aedd46e7.zip
dhcpv6: T3316: Add support for excluded-prefix in prefix delegation
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_dhcpv6-server.xml.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/service_dhcpv6-server.xml.in b/interface-definitions/service_dhcpv6-server.xml.in
index 73ea69cc0..28b97a64b 100644
--- a/interface-definitions/service_dhcpv6-server.xml.in
+++ b/interface-definitions/service_dhcpv6-server.xml.in
@@ -231,6 +231,31 @@
<constraintErrorMessage>Delegated prefix length must be between 32 and 96</constraintErrorMessage>
</properties>
</leafNode>
+ <leafNode name="excluded-prefix">
+ <properties>
+ <help>IPv6 prefix to be excluded from prefix delegation</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 prefix excluded from prefix delegation</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="excluded-prefix-length">
+ <properties>
+ <help>Length in bits of excluded prefix</help>
+ <valueHelp>
+ <format>u32:33-64</format>
+ <description>Excluded prefix length (33-128)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 33-128"/>
+ </constraint>
+ <constraintErrorMessage>Prefix length must be between 33 and 128</constraintErrorMessage>
+ </properties>
+ </leafNode>
</children>
</tagNode>
</children>