summaryrefslogtreecommitdiff
path: root/interface-definitions/service_ntp.xml.in
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2024-08-08 23:39:00 -0700
committerChristian Breunig <christian@breunig.cc>2024-09-21 08:51:28 +0200
commita5a6e57b3f7ba7d76bffcfb8dcb086d79f51202a (patch)
treea5c399d95be3f3846aff2b541e0a96f552cbb60f /interface-definitions/service_ntp.xml.in
parentbf5805c52b7133ec76edeebac33f3c30b56b169f (diff)
downloadvyos-1x-a5a6e57b3f7ba7d76bffcfb8dcb086d79f51202a.tar.gz
vyos-1x-a5a6e57b3f7ba7d76bffcfb8dcb086d79f51202a.zip
T6630: ntp: add chrony "ntp over ptp" transport
Diffstat (limited to 'interface-definitions/service_ntp.xml.in')
-rw-r--r--interface-definitions/service_ntp.xml.in20
1 files changed, 18 insertions, 2 deletions
diff --git a/interface-definitions/service_ntp.xml.in b/interface-definitions/service_ntp.xml.in
index 005499abd..c4f3116ff 100644
--- a/interface-definitions/service_ntp.xml.in
+++ b/interface-definitions/service_ntp.xml.in
@@ -48,7 +48,7 @@
<properties>
<help>Selects which inbound packets are timestamped by the NIC</help>
<completionHelp>
- <list>all ntp none</list>
+ <list>all ntp ptp none</list>
</completionHelp>
<valueHelp>
<format>all</format>
@@ -59,11 +59,15 @@
<description>Only NTP packets are timestamped</description>
</valueHelp>
<valueHelp>
+ <format>ptp</format>
+ <description>Only PTP packets, or NTP packets using the PTP transport, are timestamped</description>
+ </valueHelp>
+ <valueHelp>
<format>none</format>
<description>No received packets are timestamped</description>
</valueHelp>
<constraint>
- <regex>(all|ntp|none)</regex>
+ <regex>(all|ntp|ptp|none)</regex>
</constraint>
</properties>
</leafNode>
@@ -73,6 +77,12 @@
</node>
</children>
</node>
+ <leafNode name="ptp-transport">
+ <properties>
+ <help>Enables the PTP transport for NTP packets</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<leafNode name="leap-second">
<properties>
<help>Leap second behavior</help>
@@ -146,6 +156,12 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="ptp-transport">
+ <properties>
+ <help>Use the PTP transport for the server</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<leafNode name="interleave">
<properties>
<help>Use the interleaved mode for the server</help>