summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-20 08:45:31 +0200
committerChristian Breunig <christian@breunig.cc>2024-09-21 08:51:28 +0200
commit90ab441a55b2ec769e7a6fea1dd57bef89b8857c (patch)
tree8a2fbc7682728a4205af088e471f1111a5cc02d9 /interface-definitions
parenta5a6e57b3f7ba7d76bffcfb8dcb086d79f51202a (diff)
downloadvyos-1x-90ab441a55b2ec769e7a6fea1dd57bef89b8857c.tar.gz
vyos-1x-90ab441a55b2ec769e7a6fea1dd57bef89b8857c.zip
T6630: ntp: rename ptp-transport to ptp and use defaultValue for port
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_ntp.xml.in17
1 files changed, 11 insertions, 6 deletions
diff --git a/interface-definitions/service_ntp.xml.in b/interface-definitions/service_ntp.xml.in
index c4f3116ff..d6d3e0818 100644
--- a/interface-definitions/service_ntp.xml.in
+++ b/interface-definitions/service_ntp.xml.in
@@ -77,12 +77,17 @@
</node>
</children>
</node>
- <leafNode name="ptp-transport">
+ <node name="ptp">
<properties>
- <help>Enables the PTP transport for NTP packets</help>
- <valueless/>
+ <help>Enable Precision Time Protocol (PTP) transport</help>
</properties>
- </leafNode>
+ <children>
+ #include <include/port-number.xml.i>
+ <leafNode name="port">
+ <defaultValue>319</defaultValue>
+ </leafNode>
+ </children>
+ </node>
<leafNode name="leap-second">
<properties>
<help>Leap second behavior</help>
@@ -156,9 +161,9 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="ptp-transport">
+ <leafNode name="ptp">
<properties>
- <help>Use the PTP transport for the server</help>
+ <help>Use Precision Time Protocol (PTP) transport for the server</help>
<valueless/>
</properties>
</leafNode>