summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-19 11:31:01 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-19 12:39:08 +0200
commitbc71e8dcfbe0ae8b27c13dbb3ce8358726ef9585 (patch)
tree0cdc7293db8cba81ed27c5f5ba1804b9820e4b80 /interface-definitions
parent404b4c7b7b4f3063bc2bb608a32833d6cf23d834 (diff)
downloadvyos-1x-bc71e8dcfbe0ae8b27c13dbb3ce8358726ef9585.tar.gz
vyos-1x-bc71e8dcfbe0ae8b27c13dbb3ce8358726ef9585.zip
xml: dhcp-server: move building blocks to dhcp subdirectory
(cherry picked from commit 59e5b5eb4c0507f9d3831483152a748b58560bfd)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dhcp-server.xml.in10
-rw-r--r--interface-definitions/dhcpv6-server.xml.in4
-rw-r--r--interface-definitions/include/dhcp/domain-name.xml.i (renamed from interface-definitions/include/dhcp-domain-name.xml.i)2
-rw-r--r--interface-definitions/include/dhcp/domain-search.xml.i (renamed from interface-definitions/include/dhcp-server-domain-search.xml.i)2
-rw-r--r--interface-definitions/include/dhcp/ping-check.xml.i (renamed from interface-definitions/include/dhcp-ping-check.xml.i)2
-rw-r--r--interface-definitions/include/generic-description.xml.i11
6 files changed, 21 insertions, 10 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in
index 3a2c05698..2707ce96d 100644
--- a/interface-definitions/dhcp-server.xml.in
+++ b/interface-definitions/dhcp-server.xml.in
@@ -102,8 +102,8 @@
<valueless/>
</properties>
</leafNode>
- #include <include/dhcp-ping-check.xml.i>
- #include <include/dhcp-domain-name.xml.i>
+ #include <include/dhcp/domain-name.xml.i>
+ #include <include/dhcp/ping-check.xml.i>
#include <include/name-server-ipv4.xml.i>
#include <include/generic-description.xml.i>
#include <include/generic-disable-node.xml.i>
@@ -166,8 +166,8 @@
</properties>
</leafNode>
#include <include/name-server-ipv4.xml.i>
- #include <include/dhcp-domain-name.xml.i>
- #include <include/dhcp-server-domain-search.xml.i>
+ #include <include/dhcp/domain-name.xml.i>
+ #include <include/dhcp/domain-search.xml.i>
<leafNode name="enable-failover">
<properties>
<help>Enable DHCP failover support for this subnet</help>
@@ -220,7 +220,7 @@
<multi/>
</properties>
</leafNode>
- #include <include/dhcp-ping-check.xml.i>
+ #include <include/dhcp/ping-check.xml.i>
<leafNode name="pop-server">
<properties>
<help>IP address of POP3 server</help>
diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in
index 18aa53fb8..fb96571f5 100644
--- a/interface-definitions/dhcpv6-server.xml.in
+++ b/interface-definitions/dhcpv6-server.xml.in
@@ -58,7 +58,7 @@
</constraint>
</properties>
</leafNode>
- #include <include/dhcp-server-domain-search.xml.i>
+ #include <include/dhcp/domain-search.xml.i>
#include <include/name-server-ipv6.xml.i>
</children>
</node>
@@ -127,7 +127,7 @@
</tagNode>
</children>
</node>
- #include <include/dhcp-server-domain-search.xml.i>
+ #include <include/dhcp/domain-search.xml.i>
<node name="lease-time">
<properties>
<help>Parameters relating to the lease time</help>
diff --git a/interface-definitions/include/dhcp-domain-name.xml.i b/interface-definitions/include/dhcp/domain-name.xml.i
index eb95596da..410e27d29 100644
--- a/interface-definitions/include/dhcp-domain-name.xml.i
+++ b/interface-definitions/include/dhcp/domain-name.xml.i
@@ -1,4 +1,4 @@
-<!-- include start from dhcp-domain-name.xml.i -->
+<!-- include start from dhcp/domain-name.xml.i -->
<leafNode name="domain-name">
<properties>
<help>Client Domain Name</help>
diff --git a/interface-definitions/include/dhcp-server-domain-search.xml.i b/interface-definitions/include/dhcp/domain-search.xml.i
index 4fc55097b..bcc8fcd12 100644
--- a/interface-definitions/include/dhcp-server-domain-search.xml.i
+++ b/interface-definitions/include/dhcp/domain-search.xml.i
@@ -1,4 +1,4 @@
-<!-- include start from dhcp-server-domain-search.xml.i -->
+<!-- include start from dhcp/domain-search.xml.i -->
<leafNode name="domain-search">
<properties>
<help>Client Domain Name search list</help>
diff --git a/interface-definitions/include/dhcp-ping-check.xml.i b/interface-definitions/include/dhcp/ping-check.xml.i
index 0b2a1214a..a506f68e4 100644
--- a/interface-definitions/include/dhcp-ping-check.xml.i
+++ b/interface-definitions/include/dhcp/ping-check.xml.i
@@ -1,4 +1,4 @@
-<!-- include start from dhcp-ping-check.xml.i -->
+<!-- include start from dhcp/ping-check.xml.i -->
<leafNode name="ping-check">
<properties>
<help>Sends ICMP Echo request to the address being assigned</help>
diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i
new file mode 100644
index 000000000..03fc564e6
--- /dev/null
+++ b/interface-definitions/include/generic-description.xml.i
@@ -0,0 +1,11 @@
+<!-- include start from generic-description.xml.i -->
+<leafNode name="description">
+ <properties>
+ <help>Description</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Description</description>
+ </valueHelp>
+ </properties>
+</leafNode>
+<!-- include end -->