summaryrefslogtreecommitdiff
path: root/src/conf_mode/ntp.py
AgeCommit message (Collapse)Author
2023-07-26Merge pull request #2078 from nicolas-fort/T5154Viacheslav Hletenko
T5154: NTP: allow maximum of one ipv4 and one ipv6 address on paramet…
2023-07-25T5154: NTP: allow maximum of one ipv4 and one ipv6 address on parameter ↵Nicolas Fort
<listen-address>. Also allow only one single value <interface>.
2023-07-14T5195: vyos.util -> vyos.utils package refactoring (#2093)Christian Breunig
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process * T5195: use read_file and write_file implementation from vyos.utils.file Changed code automatically using: find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} + find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} + * T5195: move chmod* helpers to vyos.utils.permission * T5195: use colon_separated_to_dict from vyos.utils.dict * T5195: move is_systemd_service_* to vyos.utils.process * T5195: fix boot issues with missing imports * T5195: move dict_search_* helpers to vyos.utils.dict * T5195: move network helpers to vyos.utils.network * T5195: move commit_* helpers to vyos.utils.commit * T5195: move user I/O helpers to vyos.utils.io
2023-01-14ntp: T3008: migrate from ntpd to chronyChristian Breunig
* Move CLI from "system ntp" -> "service ntp" * Drop NTP server option preempt as not supported by chrony
2022-08-25ntp: T2185: use reload-or-restart on configuration changesChristian Poessinger
2022-07-04ntp: T4456: call verify_vrf() before individual interface validationChristian Poessinger
It makes no sense to test against a VRF that might not exist at all.
2022-07-04ntp: T4456: support listening on specified interfaceChristian Poessinger
When clients only use DHCP for interface addressing we can not bind NTPd to an address - as it will fail if the address changes. This commit adds support to bind ntpd to a given interface in addition to a given address. set system ntp interface <name>
2022-04-14ntp: T4353: fix Jinja2 linting errorsChristian Poessinger
2021-01-17ntp: T2185: store configuration in volatile /run areaChristian Poessinger
2020-11-27vyos.template: T2720: always enable Jinja2 trim_blocks featureChristian Poessinger
2020-08-31configd: T2582: add scripts to include list for daemonJohn Estabrook
2020-07-03ntp: T2676: mive to get_config_dict()Christian Poessinger
2020-06-13ntp: T2321: add VRF supportChristian Poessinger
2020-06-13ntp: T2321: remove superfluous verify() step on network addressesChristian Poessinger
Only IP prefixes are allowed to be added by the CLI thus we can drop the same check inside the Python script to validate the prefix.
2020-06-13ntp: T2321: use list over string when working with Config()Christian Poessinger
2020-05-29airbag: T2088: explicit enabling of the featureThomas Mangin
airbag must now be explicitly installed. the patch also allow to fully disables the installation of the logging code at setup (and not just installing and doing nothing)
2020-05-19util: T2467: add systemctl to autosudoThomas Mangin
2020-04-12ntp: T2230: fix wrong import after template migrationChristian Poessinger
Commit 1fbaa2c ("template: T2230: use render to generate templates") did try to import render from the wrong module.
2020-04-12template: T2230: use render to generate templatesThomas Mangin
convert all call to jinja to use template.render
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-06util: T2226: covert most calls from os.system to utilThomas Mangin
As little change a possible but the function call The behaviour should be totally unchanged.
2020-04-05ntp: T2230: fix wrong import statementChristian Poessinger
Commit 579275e ("ntp: T2230: move inlined templates to dedicated files") altered the import statements for forgot to adjust the code.
2020-04-05ntp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-03-20ntp: only import deepcopy from copyChristian Poessinger
2020-03-15ntp: T1803: Revert "T1694 NTPd: Do not listen on all interfaces by default"John Estabrook
This reverts commit 258c24ab9be8aa4ced8bfa1c19f134ec8bbfb1a0.
2019-09-27T1694 NTPd: Do not listen on all interfaces by defaultMarcel Gisselmann
2019-03-08[ntp] T1280 - reverting added options from that taskhagbard
2019-03-07[ntp] T1280 - restrict option for servers, so they can query upstreamhagbard
2019-03-07Revert "[ntp] T1280 - allow-clients on NTP configuration"hagbard
This reverts commit 853a68aae4bf8ec02d9c3fa78be084d7ba38d351. Need to fix the unit test first
2019-03-07[ntp] T1280 - allow-clients on NTP configurationhagbard
2019-03-04T1280 - allow-clients on NTP configurationhagbard
2019-01-30Add build time tests for NTPkamijin_fanta
2018-11-17T1018: remove obsoleted 'dynamic' option from NTPChristian Poessinger
Increase NTP config version from 0 to 1. For more information see [1]. ntpd: Warning: the "dynamic" keyword has been obsoleted and will be removed in the next release [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553976
2018-09-05T831: ntp.py: fix restrict configuration keyword to allow clients to sync upChristian Poessinger
2018-08-26ntp.py: start/stop service via systemctlChristian Poessinger
2018-08-25ntp.py: fix typo in commentChristian Poessinger
2018-06-01T599: Bind NTP service to specific interfaceChristian Poessinger
2018-05-16conf_mode: remove generation time from config header and adjust scriptnameChristian Poessinger
2018-05-16T644: remove prefixing from all scripts and update environment variables ↵Daniil Baturin
with VyOS paths.