Skip to content

Commit

Permalink
Release v4.1.1 (#165)
Browse files Browse the repository at this point in the history
* Bump version, update changelog, and regenerate docs for new version.

* Pin Poetry version in CI.
  • Loading branch information
FragmentedPacket authored Sep 8, 2022
1 parent 999b10d commit daf6423
Show file tree
Hide file tree
Showing 69 changed files with 90 additions and 75 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
run: "pip install -U pip && pip install invoke"
- name: "Install poetry"
if: "${{ matrix.ansible-release == '2.11' }}"
run: "pip install poetry"
run: "pip install poetry==1.1.15"
- name: "Remove ansible-base"
if: "${{ matrix.ansible-release == '2.11' }}"
run: "poetry remove ansible-base"
Expand All @@ -86,7 +86,7 @@ jobs:
run: "poetry add ansible-core@~2.11"
- name: "Install poetry"
if: "${{ matrix.ansible-release == '2.9' }}"
run: "pip install poetry"
run: "pip install poetry==1.1.15"
- name: "Remove ansible-base"
if: "${{ matrix.ansible-release == '2.9' }}"
run: "poetry remove ansible-base"
Expand All @@ -95,7 +95,7 @@ jobs:
run: "poetry add ansible@~2.9"
- name: "Install poetry"
if: "${{ matrix.ansible-release == '2.12' }}"
run: "pip install poetry"
run: "pip install poetry==1.1.15"
- name: "Remove ansible-base"
if: "${{ matrix.ansible-release == '2.12' }}"
run: "poetry remove ansible-base"
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ networktocode.nautobot Release Notes
.. contents:: Topics


v4.1.1
======

Release Summary
---------------

Fix incorrect filter parameters

Bugfixes
--------

- (#163) Fix bad filter params due to `STRICT_FILTERING` being enabled in Nautobot 1.4.

v4.1.0
======

Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ WORKDIR /usr/src/app
RUN python -m pip install -U pip

# Install poetry for dep management
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
ENV PATH="$PATH:/root/.poetry/bin"
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="$PATH:/root/.local/bin"
RUN poetry config virtualenvs.create false

# Bring in Poetry related files needed for other stages
COPY pyproject.toml poetry.lock ./

# Install only package Dependencies
RUN poetry install --no-dev
RUN poetry install --only main

#########
# Linting
Expand Down Expand Up @@ -55,7 +55,7 @@ RUN echo 'Running Black' && \
FROM lint AS unittests

# Remove black from dev dependencies to prevent conflicts with Ansible
RUN poetry remove black --dev
RUN poetry remove black --group dev

# Set a custom collection path for all ansible commands
# Note: This only allows for one path, not colon-separated, because we use it
Expand Down
6 changes: 6 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -342,3 +342,9 @@ releases:
minor_changes:
- (#139) - Add API versioning to compatible plugins.
release_summary: "Fix minor bugs and add API versioning to collection."

4.1.1:
changes:
bugfixes:
- (#163) Fix bad filter params due to `STRICT_FILTERING` being enabled in Nautobot 1.4.
release_summary: "Fix incorrect filter parameters"
2 changes: 1 addition & 1 deletion docs/plugins/aggregate_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.aggregate module -- Creates or removes aggregates from Na
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/cable_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.cable module -- Create, update or delete cables within Na
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/circuit_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.circuit module -- Create, update or delete circuits withi
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/circuit_termination_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.circuit_termination module -- Create, update or delete ci
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/circuit_type_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.circuit_type module -- Create, update or delete circuit t
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/cluster_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.cluster_group module -- Create, update or delete cluster
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/cluster_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.cluster module -- Create, update or delete clusters withi
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/cluster_type_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.cluster_type module -- Create, update or delete cluster t
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/console_port_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.console_port module -- Create, update or delete console p
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/console_port_template_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.console_port_template module -- Create, update or delete
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/console_server_port_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.console_server_port module -- Create, update or delete co
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/console_server_port_template_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.console_server_port_template module -- Create, update or
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/device_bay_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.device_bay module -- Create, update or delete device bays
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/device_bay_template_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.device_bay_template module -- Create, update or delete de
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/device_interface_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.device_interface module -- Creates or removes interfaces
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/device_interface_template_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.device_interface_template module -- Creates or removes in
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/device_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.device module -- Create, update or delete devices within
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/device_role_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.device_role module -- Create, update or delete devices ro
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/device_type_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.device_type module -- Create, update or delete device typ
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/front_port_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.front_port module -- Create, update or delete front ports
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/front_port_template_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.front_port_template module -- Create, update or delete fr
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/gql_inventory_inventory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.gql_inventory inventory -- Nautobot inventory source usin
.. Collection note
.. note::
This inventory plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This inventory plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this inventory plugin,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Networktocode.Nautobot
======================

Collection version 4.1.0
Collection version 4.1.1

.. contents::
:local:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/inventory_inventory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.inventory inventory -- Nautobot inventory source
.. Collection note
.. note::
This inventory plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This inventory plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.

Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/inventory_item_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.inventory_item module -- Creates or removes inventory ite
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
4 changes: 1 addition & 3 deletions docs/plugins/ip_address_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.ip_address module -- Creates or removes IP addresses from
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down Expand Up @@ -964,7 +964,6 @@ Examples
networktocode.nautobot.ip_address:
url: http://nautobot.local
token: thisIsMyToken
family: 4
address: 192.168.1.20
vrf: Test
tenant: Test Tenant
Expand All @@ -978,7 +977,6 @@ Examples
networktocode.nautobot.ip_address:
url: http://nautobot.local
token: thisIsMyToken
family: 4
address: 192.168.1.30
vrf: Test
nat_inside:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/ipam_role_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.ipam_role module -- Creates or removes ipam roles from Na
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/lookup_graphql_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.lookup_graphql lookup -- Queries and returns elements fro
.. Collection note
.. note::
This lookup plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This lookup plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this lookup plugin,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/lookup_lookup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.lookup lookup -- Queries and returns elements from Nautob
.. Collection note
.. note::
This lookup plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This lookup plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this lookup plugin,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/manufacturer_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.manufacturer module -- Create or delete manufacturers wit
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/nautobot_server_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ networktocode.nautobot.nautobot_server module -- Manages Nautobot Server applica
.. Collection note
.. note::
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.0).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.1.1).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
Loading

0 comments on commit daf6423

Please sign in to comment.