summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dhcp
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-21 20:01:21 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-21 22:12:49 +0200
commit10a71d6d0534810c314010adc22ae7265334647c (patch)
treed8870a3f5a053c036356b44b037322375678b384 /interface-definitions/include/dhcp
parent6fe3f5ad74456065bb841d89aa11f126243eeaab (diff)
downloadvyos-1x-10a71d6d0534810c314010adc22ae7265334647c.tar.gz
vyos-1x-10a71d6d0534810c314010adc22ae7265334647c.zip
dhcp-server: T3839: support domain-search and ntp-server config per shared-network
(cherry picked from commit 689d1824d251ea9fbd81bf0c941dbd36e33ef420)
Diffstat (limited to 'interface-definitions/include/dhcp')
-rw-r--r--interface-definitions/include/dhcp/ntp-server.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcp/ntp-server.xml.i b/interface-definitions/include/dhcp/ntp-server.xml.i
new file mode 100644
index 000000000..32d8207e5
--- /dev/null
+++ b/interface-definitions/include/dhcp/ntp-server.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from dhcp/ntp-server.xml.i -->
+ <leafNode name="ntp-server">
+ <properties>
+ <help>IP address of NTP server</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>NTP server IPv4 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+<!-- include end -->