From e570c582d0b95fab3c5c65bc67081954e3da909d Mon Sep 17 00:00:00 2001 From: derdeagle Date: Sun, 16 Jul 2023 21:15:48 +0200 Subject: [PATCH] Fixes #189: Add missing /snmp parameter "engine-id-suffix" (#190) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixes #189: Add missing /snmp parameter "engine-id-suffix" * Fixes #189: Add changelog fragment after getting PR ID * Update changelogs/fragments/180-fix-engine-id-suffix-in-snmp.yml Co-authored-by: Felix Fontein --------- Co-authored-by: Johannes Münch Co-authored-by: Felix Fontein --- changelogs/fragments/180-fix-engine-id-suffix-in-snmp.yml | 2 ++ plugins/module_utils/_api_data.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/180-fix-engine-id-suffix-in-snmp.yml diff --git a/changelogs/fragments/180-fix-engine-id-suffix-in-snmp.yml b/changelogs/fragments/180-fix-engine-id-suffix-in-snmp.yml new file mode 100644 index 00000000..021f7f0d --- /dev/null +++ b/changelogs/fragments/180-fix-engine-id-suffix-in-snmp.yml @@ -0,0 +1,2 @@ +bugfixes: + - api_modify, api_info - add missing parameter ``engine-id-suffix`` for the ``snmp`` path (https://github.com/ansible-collections/community.routeros/issues/189, https://github.com/ansible-collections/community.routeros/pull/190). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index 59e5b5c5..3925dec0 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -2280,6 +2280,7 @@ def join_path(path): 'contact': KeyInfo(default=''), 'enabled': KeyInfo(default=False), 'engine-id': KeyInfo(default=''), + 'engine-id-suffix': KeyInfo(default=''), 'location': KeyInfo(default=''), 'src-address': KeyInfo(default='::'), 'trap-community': KeyInfo(default='public'),