diff options
author | Ginko <152240782+Giggum@users.noreply.github.com> | 2024-04-14 03:15:52 -0400 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-02 05:46:18 +0000 |
commit | e2f0643d7b2a5b7f2f4774965c897b50b2427715 (patch) | |
tree | db3a76b73c875de5b49014b9384d9435dc66b377 /python/vyos/migrator.py | |
parent | e019155e3d7a1383f480f2bdf4c7e17d807fc7db (diff) | |
download | vyos-1x-e2f0643d7b2a5b7f2f4774965c897b50b2427715.tar.gz vyos-1x-e2f0643d7b2a5b7f2f4774965c897b50b2427715.zip |
ntp: T4909: Rewrite NTP op mode in new format
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
(cherry picked from commit d2a82c30695c2f4265dc5ca2165d27d5aa3e2cef)
Diffstat (limited to 'python/vyos/migrator.py')
0 files changed, 0 insertions, 0 deletions