diff options
author | Gaige B Paulsen <gaige@cluetrust.com> | 2024-12-17 05:26:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 05:26:06 -0500 |
commit | 001ed7481a23874f931e4bfb681e88506a5e6a0d (patch) | |
tree | 23a36ad50af20ced426c33a4a5fe14fe35ee2d58 /plugins/modules | |
parent | bf38875af0a7e5166ce0330f16441b7d8b434e6a (diff) | |
download | vyos.vyos-001ed7481a23874f931e4bfb681e88506a5e6a0d.tar.gz vyos.vyos-001ed7481a23874f931e4bfb681e88506a5e6a0d.zip |
T6894: Fix failing NTP network-integration Tests (#366)
* tests: ntp: parsed
* tests: ntp tests working with 1.3
* T6894 : test: update 1.4 tests for compatibility
* fix: path replacement, docs, unit tests for 1.3-1.5
* T6894: fix: 1.4+ requires valid hostnames
* fix: update tests to handle deletion
* T6894: separate changelog
* fix: final test fixes
Diffstat (limited to 'plugins/modules')
-rw-r--r-- | plugins/modules/vyos_ntp_global.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/plugins/modules/vyos_ntp_global.py b/plugins/modules/vyos_ntp_global.py index 4fd9891b..cad08a68 100644 --- a/plugins/modules/vyos_ntp_global.py +++ b/plugins/modules/vyos_ntp_global.py @@ -22,7 +22,7 @@ description: author: - Varshitha Yataluru (@YVarshitha) notes: -- Tested against vyos 1.3 +- Tested against vyos 1.3.8 - This module works with connection C(network_cli). - "VyOS v.1.4+ uses chronyd, and path changes from `system` to `service`" options: @@ -44,20 +44,26 @@ options: elements: dict suboptions: server: - description: server name for NTP + description: server name or address for NTP type: str options: description: - - server options for NTP - - "`dynamic` changed to `pool` after v1.3" + - "server options for NTP" + - "`pool` replaces `dynamic` in Vyos 1.3" + - "`preempt` is only available in Vyos 1.3 and earlier" + - "`nts` was added in Vyos 1.4" + - "`ptp` and `interleave` were added in Vyos 1.5" type: list elements: str choices: - - noselect - dynamic + - noselect - pool - preempt - prefer + - nts + - ptp + - interleave running_config: description: - This option is used only with state I(parsed). |