summaryrefslogtreecommitdiff
path: root/op-mode-definitions/ntp.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/ntp.xml.in')
-rw-r--r--op-mode-definitions/ntp.xml.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/op-mode-definitions/ntp.xml.in b/op-mode-definitions/ntp.xml.in
index ca0e5db08..b8d0c43ec 100644
--- a/op-mode-definitions/ntp.xml.in
+++ b/op-mode-definitions/ntp.xml.in
@@ -29,6 +29,17 @@
<properties>
<help>Force NTP time synchronization</help>
</properties>
+ <children>
+ <tagNode name="vrf">
+ <properties>
+ <help>Force NTP time synchronization in given VRF</help>
+ <completionHelp>
+ <path>vrf name</path>
+ </completionHelp>
+ </properties>
+ <command>sudo ip vrf exec $5 chronyc makestep</command>
+ </tagNode>
+ </children>
<command>sudo chronyc makestep</command>
</node>
</children>