diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-02 07:45:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 07:45:37 +0200 |
commit | f97a3254c9e958f76b3ff3dfec7e9297cf48575c (patch) | |
tree | 0a66bbc1d513f08f18503b8c2bdcf19db48cf6d6 /op-mode-definitions | |
parent | 958e9ac4d1eb7fb8d61490c90c41c67dbfb58ab5 (diff) | |
parent | d2a82c30695c2f4265dc5ca2165d27d5aa3e2cef (diff) | |
download | vyos-1x-f97a3254c9e958f76b3ff3dfec7e9297cf48575c.tar.gz vyos-1x-f97a3254c9e958f76b3ff3dfec7e9297cf48575c.zip |
Merge pull request #3307 from Giggum/vyos-1x-T4909
ntp: T4909 rewrite NTP op mode in the new format
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/ntp.xml.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/op-mode-definitions/ntp.xml.in b/op-mode-definitions/ntp.xml.in index b8d0c43ec..17250a45e 100644 --- a/op-mode-definitions/ntp.xml.in +++ b/op-mode-definitions/ntp.xml.in @@ -6,13 +6,25 @@ <properties> <help>Show peer status of NTP daemon</help> </properties> - <command>${vyos_op_scripts_dir}/show_ntp.sh --sourcestats</command> + <command>${vyos_op_scripts_dir}/ntp.py show_sourcestats</command> <children> + <node name="activity"> + <properties> + <help>Report the number of servers and peers that are online and offline</help> + </properties> + <command>${vyos_op_scripts_dir}/ntp.py show_activity</command> + </node> + <node name="sources"> + <properties> + <help>Show information about the current time sources being accessed</help> + </properties> + <command>${vyos_op_scripts_dir}/ntp.py show_sources</command> + </node> <node name="system"> <properties> <help>Show parameters about the system clock performance</help> </properties> - <command>${vyos_op_scripts_dir}/show_ntp.sh --tracking</command> + <command>${vyos_op_scripts_dir}/ntp.py show_tracking</command> </node> </children> </node> |