summaryrefslogtreecommitdiff
path: root/interface-definitions/service_dhcpv6-server.xml.in
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2024-02-12 23:33:07 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2024-02-13 00:04:53 +0100
commit04bf9ee39f8243207ec777d6a5aeec78e3c9d66f (patch)
tree4a75807bcc8421fac9c45c59e82f45213d492ee3 /interface-definitions/service_dhcpv6-server.xml.in
parent19df28989d72f8006e1defd241ec5cc34660bbec (diff)
downloadvyos-1x-04bf9ee39f8243207ec777d6a5aeec78e3c9d66f.tar.gz
vyos-1x-04bf9ee39f8243207ec777d6a5aeec78e3c9d66f.zip
dhcpv6-server: T5993: Add subnet `interface` node, link subnet to locally connected interfaces
Prior dhcpd behaviour implicitly handled requests for locally connected subnets. Kea requires an explicit link between subnets and an interface.
Diffstat (limited to 'interface-definitions/service_dhcpv6-server.xml.in')
-rw-r--r--interface-definitions/service_dhcpv6-server.xml.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/service_dhcpv6-server.xml.in b/interface-definitions/service_dhcpv6-server.xml.in
index 28b97a64b..daca7b43f 100644
--- a/interface-definitions/service_dhcpv6-server.xml.in
+++ b/interface-definitions/service_dhcpv6-server.xml.in
@@ -97,6 +97,21 @@
</properties>
<children>
#include <include/dhcp/option-v6.xml.i>
+ <leafNode name="interface">
+ <properties>
+ <help>Optional interface for this subnet to accept requests from</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces</script>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Interface name</description>
+ </valueHelp>
+ <constraint>
+ #include <include/constraint/interface-name.xml.i>
+ </constraint>
+ </properties>
+ </leafNode>
<tagNode name="range">
<properties>
<help>Parameters setting ranges for assigning IPv6 addresses</help>