Skip to content

Commit

Permalink
Merge pull request #3525 from c-po/dhcpv6-T3493-constraintGroup
Browse files Browse the repository at this point in the history
dhcpv6-server: T3493: add constraintGroup for prefix-delegation start/stop address
  • Loading branch information
dmbaturin authored May 27, 2024
2 parents 5cd0e32 + f5d5dfc commit 15cad14
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions interface-definitions/service_dhcpv6-server.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand All @@ -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>
Expand Down

0 comments on commit 15cad14

Please sign in to comment.