summaryrefslogtreecommitdiff
path: root/src/op_mode/ntp.py
AgeCommit message (Collapse)Author
2024-08-23T6561: Add vrf aware for show ntp (#4009)mergify[bot]
(cherry picked from commit 5f780ebb7f1799eb9a93218bb83561db509c7e56) Co-authored-by: Viacheslav Hletenko <v.gletenko@vyos.io>
2024-04-22ntp: T4909: Rewrite NTP op mode in new formatGinko
ntp: T4909: Rewrite NTP op mode in new format Adapts ntp.xml.in to reference new ntp.py file Add ntp.py Adds a check to ntp.py to verify if the ntp service is configured Adds raw mode to ntp.py For raw output, replaces the original method of parsing the command line output FROM re.split+regex TO csv.reader. Separates chrony commands into equivalent functions show_tracking, show_sources, source_sourcestats and show_activity Revises the names of raw dictionary keys variables to be lowercase Corrects a comment typo and renames function name used for raw mode