diff --git a/galaxy.yml b/galaxy.yml index 3b2bfc22..847ae755 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: networktocode name: nautobot # The version of the collection. Must be compatible with semantic versioning -version: 4.2.0 +version: 4.3.1 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/plugins/module_utils/utils.py b/plugins/module_utils/utils.py index 5871921c..f3544f1f 100644 --- a/plugins/module_utils/utils.py +++ b/plugins/module_utils/utils.py @@ -92,6 +92,7 @@ installed_device="name", import_targets="name", manufacturer="slug", + master="name", nat_inside="address", nat_outside="address", parent_rack_group="slug", @@ -852,6 +853,8 @@ def _find_ids(self, data, user_query_params): id_list.append(list_item) continue else: + # Reminder: this get checks the QUERY_TYPES constant above, if the item is not in the list + # of approved query types, then it defaults to a q search temp_dict = {QUERY_TYPES.get(k, "q"): search} query_id = self._nb_endpoint_get(nb_endpoint, temp_dict, k) @@ -863,6 +866,8 @@ def _find_ids(self, data, user_query_params): if k in ["lag", "rear_port", "rear_port_template"]: query_params = self._build_query_params(k, data, user_query_params) else: + # Reminder: this get checks the QUERY_TYPES constant above, if the item is not in the list + # of approved query types, then it defaults to a q search query_params = {QUERY_TYPES.get(k, "q"): search} query_id = self._nb_endpoint_get(nb_endpoint, query_params, k) diff --git a/pyproject.toml b/pyproject.toml index 685d687e..11c7c948 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nautobot_ansible_modules" -version = "4.3.0" +version = "4.3.1" description = "Ansible collection to interact with Nautobot's API" authors = ["Network to Code