From a6d2580a9e50cc13a53aef9cda62003d18282c6b Mon Sep 17 00:00:00 2001 From: Igor <13848605+vint2k@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:58:54 +0400 Subject: [PATCH] Add support for '/system resource irq rps' path (#295) --- .../fragments/295-add_system_resource_irq_rps_path.yml | 2 ++ plugins/module_utils/_api_data.py | 10 ++++++++++ plugins/modules/api_info.py | 1 + plugins/modules/api_modify.py | 1 + 4 files changed, 14 insertions(+) create mode 100644 changelogs/fragments/295-add_system_resource_irq_rps_path.yml diff --git a/changelogs/fragments/295-add_system_resource_irq_rps_path.yml b/changelogs/fragments/295-add_system_resource_irq_rps_path.yml new file mode 100644 index 00000000..0ebacd03 --- /dev/null +++ b/changelogs/fragments/295-add_system_resource_irq_rps_path.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - add missing path ``/system resource irq rps`` (https://github.com/ansible-collections/community.routeros/pull/295). \ No newline at end of file diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index e13b7e9c..ac9cf1b2 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -5004,6 +5004,16 @@ def join_path(path): }, ), ), + ('system', 'resource', 'irq', 'rps'): APIData( + unversioned=VersionedAPIData( + fully_understood=True, + primary_keys=('name',), + fields={ + 'disabled': KeyInfo(default=False), + 'name': KeyInfo(), + }, + ), + ), ('system', 'scheduler'): APIData( unversioned=VersionedAPIData( fully_understood=True, diff --git a/plugins/modules/api_info.py b/plugins/modules/api_info.py index f152a81b..e8d8663f 100644 --- a/plugins/modules/api_info.py +++ b/plugins/modules/api_info.py @@ -228,6 +228,7 @@ - system ntp client servers - system ntp server - system package update + - system resource irq rps - system routerboard settings - system scheduler - system script diff --git a/plugins/modules/api_modify.py b/plugins/modules/api_modify.py index 46ee18b6..5cb1cd87 100644 --- a/plugins/modules/api_modify.py +++ b/plugins/modules/api_modify.py @@ -237,6 +237,7 @@ - system ntp client servers - system ntp server - system package update + - system resource irq rps - system routerboard settings - system scheduler - system script