From 22ff08978792c0d6798a301c9597f72a58afbb89 Mon Sep 17 00:00:00 2001 From: hansmi Date: Thu, 10 Oct 2024 21:43:40 +0200 Subject: [PATCH] Add cpu-frequency, memory-frequency, preboot-etherboot* properties (#320) Signed-off-by: Michael Hanselmann --- changelogs/fragments/320-add-routerboard-properties.yml | 2 ++ plugins/module_utils/_api_data.py | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 changelogs/fragments/320-add-routerboard-properties.yml diff --git a/changelogs/fragments/320-add-routerboard-properties.yml b/changelogs/fragments/320-add-routerboard-properties.yml new file mode 100644 index 0000000..c498dab --- /dev/null +++ b/changelogs/fragments/320-add-routerboard-properties.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - add support for the ``cpu-frequency``, ``memory-frequency``, ``preboot-etherboot`` and ``preboot-etherboot-server`` properties in ``system routerboard settings`` (https://github.com/ansible-collections/community.routeros/pull/320). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index ae47274..6ecfeee 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -4257,9 +4257,13 @@ PATHS = { 'boot-delay': KeyInfo(default='2s'), 'boot-device': KeyInfo(default='nand-if-fail-then-ethernet'), 'boot-protocol': KeyInfo(default='bootp'), + 'cpu-frequency': KeyInfo(), 'enable-jumper-reset': KeyInfo(default=True), 'enter-setup-on': KeyInfo(default='any-key'), 'force-backup-booter': KeyInfo(default=False), + 'memory-frequency': KeyInfo(), + 'preboot-etherboot': KeyInfo(), + 'preboot-etherboot-server': KeyInfo(), 'protected-routerboot': KeyInfo(default='disabled'), 'reformat-hold-button': KeyInfo(default='20s'), 'reformat-hold-button-max': KeyInfo(default='10m'),