summaryrefslogtreecommitdiff
path: root/interface-definitions/ntp.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-01 23:16:57 +0200
committerDaniil Baturin <daniil@baturin.org>2018-06-01 23:16:57 +0200
commit28db29e42fca939f8157041cbedc52378ce3622e (patch)
treeef569cff6d1da9fb6f2e619d87975ee536f14c70 /interface-definitions/ntp.xml
parent6be3c1fad01744beae74f5753685a4e5a936bf54 (diff)
parent69577e72a7a88de96d44dcc30ae1822d92309361 (diff)
downloadvyos-1x-28db29e42fca939f8157041cbedc52378ce3622e.tar.gz
vyos-1x-28db29e42fca939f8157041cbedc52378ce3622e.zip
Merge branch 'current' of github.com:vyos/vyos-1x into current
Diffstat (limited to 'interface-definitions/ntp.xml')
-rw-r--r--interface-definitions/ntp.xml20
1 files changed, 18 insertions, 2 deletions
diff --git a/interface-definitions/ntp.xml b/interface-definitions/ntp.xml
index 4688454c3..d324404da 100644
--- a/interface-definitions/ntp.xml
+++ b/interface-definitions/ntp.xml
@@ -1,7 +1,5 @@
<?xml version="1.0"?>
-
<!-- NTP configuration -->
-
<interfaceDefinition>
<node name="system">
<children>
@@ -66,6 +64,24 @@
</leafNode>
</children>
</node>
+ <leafNode name="listen-address">
+ <properties>
+ <help>Addresses to listen for NTP queries</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Network Time Protocol (NTP) IPv4 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>Network Time Protocol (NTP) IPv6 address</description>
+ </valueHelp>
+ <multi/>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
</children>