From fd409532eda319512d261d322627c0504d31d073 Mon Sep 17 00:00:00 2001 From: Igor <13848605+vint2k@users.noreply.github.com> Date: Mon, 24 Jun 2024 18:45:10 +0400 Subject: [PATCH] Add support for '/system resource irq rps' path --- .../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 0883a2f5..96711cac 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -4966,6 +4966,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 1d5dea56..e78cdb1a 100644 --- a/plugins/modules/api_info.py +++ b/plugins/modules/api_info.py @@ -227,6 +227,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 73a08eff..d155e7ee 100644 --- a/plugins/modules/api_modify.py +++ b/plugins/modules/api_modify.py @@ -236,6 +236,7 @@ - system ntp client servers - system ntp server - system package update + - system resource irq rps - system routerboard settings - system scheduler - system script