summaryrefslogtreecommitdiff
path: root/interface-definitions/ntp.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/ntp.xml.in')
-rw-r--r--interface-definitions/ntp.xml.in35
1 files changed, 6 insertions, 29 deletions
diff --git a/interface-definitions/ntp.xml.in b/interface-definitions/ntp.xml.in
index 85636a50f..558204a06 100644
--- a/interface-definitions/ntp.xml.in
+++ b/interface-definitions/ntp.xml.in
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- NTP configuration -->
<interfaceDefinition>
- <node name="system">
+ <node name="service">
<children>
<node name="ntp" owner="${vyos_conf_scripts_dir}/ntp.py">
<properties>
@@ -37,15 +37,15 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="pool">
+ <leafNode name="nts">
<properties>
- <help>Associate with a number of remote servers</help>
+ <help>Enable Network Time Security (NTS) for the server</help>
<valueless/>
</properties>
</leafNode>
- <leafNode name="preempt">
+ <leafNode name="pool">
<properties>
- <help>Specifies the association as preemptable rather than the default persistent</help>
+ <help>Associate with a number of remote servers</help>
<valueless/>
</properties>
</leafNode>
@@ -57,30 +57,7 @@
</leafNode>
</children>
</tagNode>
- <node name="allow-clients">
- <properties>
- <help>Network Time Protocol (NTP) server options</help>
- </properties>
- <children>
- <leafNode name="address">
- <properties>
- <help>IP address</help>
- <valueHelp>
- <format>ipv4net</format>
- <description>IP address and prefix length</description>
- </valueHelp>
- <valueHelp>
- <format>ipv6net</format>
- <description>IPv6 address and prefix length</description>
- </valueHelp>
- <multi/>
- <constraint>
- <validator name="ip-prefix"/>
- </constraint>
- </properties>
- </leafNode>
- </children>
- </node>
+ #include <include/allow-client.xml.i>
#include <include/generic-interface-multi.xml.i>
#include <include/listen-address.xml.i>
#include <include/interface/vrf.xml.i>