diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-14 19:03:27 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-09-14 19:03:27 +0200 |
commit | c27b0ca1816bc9fcbb88b05ae3193d765b798d81 (patch) | |
tree | 50bd4297ee97103c3ca555b3817c884e623658ec /op-mode-definitions | |
parent | 8e5931c94a4ee409424ba092777a1a9ce03768d7 (diff) | |
download | vyos-1x-c27b0ca1816bc9fcbb88b05ae3193d765b798d81.tar.gz vyos-1x-c27b0ca1816bc9fcbb88b05ae3193d765b798d81.zip |
T5582: make "force ntp synchronisation" command VRF aware
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/ntp.xml.in | 11 |
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> |