diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-02 10:07:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:07:09 +0100 |
commit | eb41a9a96f5284d49156df9120316f46a6ad2f97 (patch) | |
tree | a4d4940464c07fd73fac6b0d0f541dcb342acc99 /interface-definitions | |
parent | 4b0a78b0d2e4e0ea813e93b0842ae3aed15d1a43 (diff) | |
parent | dca220d515e6c1009b316400174382b88837df6c (diff) | |
download | vyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.tar.gz vyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.zip |
Merge pull request #2889 from sarthurdev/kea-hooks
dhcpv6: T3771: Installation of routes for delegated prefixes, add excluded-prefix to PD
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/listen-interface-multi-broadcast.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/service_dhcpv6-server.xml.in | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/interface-definitions/include/listen-interface-multi-broadcast.xml.i b/interface-definitions/include/listen-interface-multi-broadcast.xml.i index b3d5a3ecc..00bd45e6e 100644 --- a/interface-definitions/include/listen-interface-multi-broadcast.xml.i +++ b/interface-definitions/include/listen-interface-multi-broadcast.xml.i @@ -1,7 +1,7 @@ <!-- include start from listen-interface-multi-broadcast.xml.i --> <leafNode name="listen-interface"> <properties> - <help>Interface for DHCP Relay Agent to listen for requests</help> + <help>Interface to listen on</help> <completionHelp> <script>${vyos_completion_dir}/list_interfaces --broadcast</script> </completionHelp> diff --git a/interface-definitions/service_dhcpv6-server.xml.in b/interface-definitions/service_dhcpv6-server.xml.in index 07cbfc85d..28b97a64b 100644 --- a/interface-definitions/service_dhcpv6-server.xml.in +++ b/interface-definitions/service_dhcpv6-server.xml.in @@ -10,6 +10,12 @@ <children> #include <include/generic-disable-node.xml.i> #include <include/listen-interface-multi-broadcast.xml.i> + <leafNode name="disable-route-autoinstall"> + <properties> + <help>Do not install routes for delegated prefixes</help> + <valueless/> + </properties> + </leafNode> <node name="global-parameters"> <properties> <help>Additional global parameters for DHCPv6 server</help> @@ -225,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> |