summaryrefslogtreecommitdiff
path: root/interface-definitions/vrf.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-08-19 15:25:31 +0100
committerGitHub <noreply@github.com>2025-08-19 15:25:31 +0100
commit731e2193322867a89b8ea2c2fd755c174149e9b3 (patch)
treea87c8fbdcf62db5661f74ab32ad1432bfc613cc4 /interface-definitions/vrf.xml.in
parente83507a30cc8082895a39a25052ebee03036b170 (diff)
parent974f9a5d5e13241e2b4ea54152bf835db6b7feff (diff)
downloadvyos-1x-731e2193322867a89b8ea2c2fd755c174149e9b3.tar.gz
vyos-1x-731e2193322867a89b8ea2c2fd755c174149e9b3.zip
Merge pull request #4508 from davi2367/vrf-dhcp
kea: T6211: add VRF support for KEA dhcp server
Diffstat (limited to 'interface-definitions/vrf.xml.in')
-rw-r--r--interface-definitions/vrf.xml.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in
index 03128cb99..3fa95076e 100644
--- a/interface-definitions/vrf.xml.in
+++ b/interface-definitions/vrf.xml.in
@@ -116,6 +116,31 @@
</node>
</children>
</node>
+ <node name="service">
+ <properties>
+ <help>Enable services in the vrf itself</help>
+ </properties>
+ <children>
+ <node name="dhcp-server" owner="${vyos_conf_scripts_dir}/service_dhcp-server.py $VAR(../../@)">
+ <properties>
+ <help>Dynamic Host Configuration Protocol (DHCP) for DHCP server</help>
+ <priority>912</priority>
+ </properties>
+ <children>
+ #include <include/dhcp/dhcp-server-common-config.xml.i>
+ </children>
+ </node>
+ <node name="dhcpv6-server" owner="${vyos_conf_scripts_dir}/service_dhcpv6-server.py $VAR(../../@)">
+ <properties>
+ <help>DHCP for IPv6 (DHCPv6) server</help>
+ <priority>901</priority>
+ </properties>
+ <children>
+ #include <include/dhcp/dhcpv6-server-common-config.xml.i>
+ </children>
+ </node>
+ </children>
+ </node>
<leafNode name="table">
<properties>
<help>Routing table associated with this instance</help>