summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-27 09:37:26 +0200
committerGitHub <noreply@github.com>2024-05-27 09:37:26 +0200
commit15cad149f06323f0f692d590ce8bb05a70269130 (patch)
tree1f1563839bde2fa14f757d6215ceeb7ec7aafca5
parent5cd0e322816320b05f3a1f854aad0ada8eac349f (diff)
parentf5d5dfc247aba17b7a4f0ce23dbbcb8d06ecb5b8 (diff)
downloadvyos-1x-15cad149f06323f0f692d590ce8bb05a70269130.tar.gz
vyos-1x-15cad149f06323f0f692d590ce8bb05a70269130.zip
Merge pull request #3525 from c-po/dhcpv6-T3493-constraintGroup
dhcpv6-server: T3493: add constraintGroup for prefix-delegation start/stop address
-rw-r--r--interface-definitions/service_dhcpv6-server.xml.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/interface-definitions/service_dhcpv6-server.xml.in b/interface-definitions/service_dhcpv6-server.xml.in
index effba3884..589eb709c 100644
--- a/interface-definitions/service_dhcpv6-server.xml.in
+++ b/interface-definitions/service_dhcpv6-server.xml.in
@@ -228,10 +228,11 @@
<format>ipv6</format>
<description>IPv6 address used in prefix delegation</description>
</valueHelp>
- <constraint>
+ <constraintGroup>
+ <validator name="ipv6-address"/>
<!-- IPv6 address used MUST end with :: -->
<regex>([a-fA-F0-9]{1,4}:)+:</regex>
- </constraint>
+ </constraintGroup>
</properties>
<children>
<leafNode name="prefix-length">
@@ -254,10 +255,11 @@
<format>ipv6</format>
<description>IPv6 address used in prefix delegation</description>
</valueHelp>
- <constraint>
+ <constraintGroup>
+ <validator name="ipv6-address"/>
<!-- IPv6 address used MUST end with :: -->
<regex>([a-fA-F0-9]{1,4}:)+:</regex>
- </constraint>
+ </constraintGroup>
</properties>
</leafNode>
</children>