summaryrefslogtreecommitdiff
path: root/interface-definitions/dhcpv6-server.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-07 17:25:30 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-07 17:25:58 +0100
commit582f52764afce78b9be0d95b88f6dc8d0bff9690 (patch)
tree247dae4f9ae18a34dc1b8582d1860092b6d3fff2 /interface-definitions/dhcpv6-server.xml.in
parente426b103b803b61e6593e1662c470d0f23a9a36f (diff)
downloadvyos-1x-582f52764afce78b9be0d95b88f6dc8d0bff9690.tar.gz
vyos-1x-582f52764afce78b9be0d95b88f6dc8d0bff9690.zip
xml: include: provide generic include for disable node
Diffstat (limited to 'interface-definitions/dhcpv6-server.xml.in')
-rw-r--r--interface-definitions/dhcpv6-server.xml.in21
1 files changed, 3 insertions, 18 deletions
diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in
index 37bc7e03e..fb0e79c47 100644
--- a/interface-definitions/dhcpv6-server.xml.in
+++ b/interface-definitions/dhcpv6-server.xml.in
@@ -9,12 +9,7 @@
<priority>900</priority>
</properties>
<children>
- <leafNode name="disable">
- <properties>
- <help>Option to disable DHCPv6 server</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/generic-disable-node.xml.i>
<leafNode name="preference">
<properties>
<help>Preference of this DHCPv6 server compared with others</help>
@@ -37,12 +32,7 @@
<constraintErrorMessage>Invalid DHCPv6 shared network name. May only contain letters, numbers and .-_</constraintErrorMessage>
</properties>
<children>
- <leafNode name="disable">
- <properties>
- <help>Option to disable DHCPv6 configuration for shared-network</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/generic-disable-node.xml.i>
<node name="common-options">
<properties>
<help>Common options to distribute to all clients, including stateless clients</help>
@@ -324,12 +314,7 @@
<constraintErrorMessage>Invalid static mapping name. May only contain letters, numbers and .-_</constraintErrorMessage>
</properties>
<children>
- <leafNode name="disable">
- <properties>
- <help>Option to disable static mapping</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/generic-disable-node.xml.i>
<leafNode name="identifier">
<properties>
<help>Client identifier (DUID) for this static mapping</help>