diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-05-02 12:58:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 12:58:54 +0200 |
commit | 44008b19c5e8547521908b0df04f75215fb3fb79 (patch) | |
tree | db3a76b73c875de5b49014b9384d9435dc66b377 /op-mode-definitions/ntp.xml.in | |
parent | e019155e3d7a1383f480f2bdf4c7e17d807fc7db (diff) | |
parent | e2f0643d7b2a5b7f2f4774965c897b50b2427715 (diff) | |
download | vyos-1x-44008b19c5e8547521908b0df04f75215fb3fb79.tar.gz vyos-1x-44008b19c5e8547521908b0df04f75215fb3fb79.zip |
Merge pull request #3395 from vyos/mergify/bp/sagitta/pr-3307
ntp: T4909 rewrite NTP op mode in the new format (backport #3307)
Diffstat (limited to 'op-mode-definitions/ntp.xml.in')
-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> |