Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.5 - Main #232

Merged
merged 28 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7b53991
Fix device_interface status
Jul 3, 2023
d10f7f9
Change parameter relationship type
Jul 3, 2023
ef07b0e
Add tests and fix version in docs
Jul 3, 2023
1c3d423
Fix lint
Jul 3, 2023
04876ab
Fix var name in tests
Jul 3, 2023
781224c
Fix docs
Jul 3, 2023
8cea685
Add version to tests
Jul 3, 2023
16af02d
Fix
Jul 3, 2023
548fcca
Merge pull request #220 from RLTravis/develop
joewesch Jul 3, 2023
38dcf7d
Raise error instead of returning empty.
jvanderaa Aug 3, 2023
21d7834
Merge remote-tracking branch 'upstream/develop' into inventory_gracef…
jvanderaa Aug 3, 2023
a06e98e
Fixes graphql inventory grouping by tags
joewesch Aug 11, 2023
06454ea
Adds parent_interface & bridge interface options
joewesch Aug 11, 2023
3ad8b84
Fixes version for sanity tests
joewesch Aug 11, 2023
b452921
Merge pull request #229 from joewesch/202_interface-options
jvanderaa Aug 14, 2023
6fd0583
Merge pull request #228 from joewesch/225_gql-group-tags
jvanderaa Aug 14, 2023
c893a9d
Merge remote-tracking branch 'upstream/develop' into inventory_gracef…
jvanderaa Aug 14, 2023
34989db
Update to provide straight output
jvanderaa Aug 14, 2023
c5299e4
Update plugins/inventory/gql_inventory.py
jvanderaa Aug 14, 2023
9dcf0c6
Merge pull request #224 from jvanderaa/inventory_graceful_exit
jvanderaa Aug 15, 2023
82d0a74
Changelog update.
jvanderaa Aug 15, 2023
8059c39
Doc updates for release
jvanderaa Aug 15, 2023
82cffdc
Merge pull request #231 from jvanderaa/release_4_5_0
jvanderaa Aug 15, 2023
1aa118a
Update secret for using Org
jvanderaa Aug 15, 2023
921c973
Re-introduce space.
jvanderaa Aug 15, 2023
33f5906
Merge pull request #233 from jvanderaa/release_4_5_0
jvanderaa Aug 16, 2023
f2a2fb2
Update plugins/modules/device_interface.py
jvanderaa Aug 16, 2023
a72e2b5
Update changelogs/changelog.yaml
jvanderaa Aug 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: "Upload binaries to release"
uses: "svenstaro/upload-release-action@v2"
with:
repo_token: "${{ secrets.NTC_GITHUB_TOKEN }}"
repo_token: "${{ secrets.GH_NAUTOBOT_BOT_TOKEN }}"
file: "build/*"
tag: "${{ github.ref }}"
overwrite: true
Expand Down
14 changes: 13 additions & 1 deletion changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ releases:
- (#172) Add description to manufacturer

4.3.0:
changes:
changes:
minor_changes:
- (#185) Updated Doc Fragments
- (#187) Updated Tag documentation
Expand All @@ -373,3 +373,15 @@ releases:
- (#211) Removes codecov from dev dependencies
- (#203) Adds plugin module
- (#209) Catches HTTPError for GraphQL query and enables Ansible retries

4.5.0:
changes:
bugfixes:
- (#223) Inventory Hosts Empty On Error
- (#209) Catches HTTPError for `query_graphql` and fails to enable ansible retries
- (#228) Fixes graphql inventory grouping by tags
minor_changes:
- (#211) Removes codecov from dev dependencies
- (#220) Adds status option to device_interface module
- (#217) Fixes and enables testing for Nautobot 1.5
release_summary: "Fixes error handling in inventory to not erase inventories, minor bug fixes, and introduces Plugin module"
2 changes: 1 addition & 1 deletion docs/plugins/aggregate_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

To install it, use: :code:`ansible-galaxy collection install networktocode.nautobot`.
You need further requirements to be able to use this module,
Expand Down
132 changes: 131 additions & 1 deletion docs/plugins/device_interface_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -138,6 +138,43 @@ Parameters
API Version Nautobot REST API


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
<div class="ansibleOptionAnchor" id="parameter-bridge"></div>

.. _ansible_collections.networktocode.nautobot.device_interface_module__parameter-bridge:

.. rst-class:: ansible-option-title

**bridge**

.. raw:: html

<a class="ansibleOptionLink" href="#parameter-bridge" title="Permalink to this option"></a>

.. rst-class:: ansible-option-type-line

:ansible-option-type:`any`

:ansible-option-versionadded:`added in networktocode.nautobot 4.5.0`


.. raw:: html

</div>

- .. raw:: html

<div class="ansible-option-cell">

Interface that will be the bridge of the interface being created


.. raw:: html

</div>
Expand Down Expand Up @@ -561,6 +598,43 @@ Parameters
Name of the interface to be created


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
<div class="ansibleOptionAnchor" id="parameter-parent_interface"></div>

.. _ansible_collections.networktocode.nautobot.device_interface_module__parameter-parent_interface:

.. rst-class:: ansible-option-title

**parent_interface**

.. raw:: html

<a class="ansibleOptionLink" href="#parameter-parent_interface" title="Permalink to this option"></a>

.. rst-class:: ansible-option-type-line

:ansible-option-type:`any`

:ansible-option-versionadded:`added in networktocode.nautobot 4.5.0`


.. raw:: html

</div>

- .. raw:: html

<div class="ansible-option-cell">

Interface that will be the parent of the interface being created


.. raw:: html

</div>
Expand Down Expand Up @@ -644,6 +718,45 @@ Parameters
- :ansible-option-choices-entry-default:`"present"` :ansible-option-choices-default-mark:`← (default)`


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
<div class="ansibleOptionAnchor" id="parameter-status"></div>

.. _ansible_collections.networktocode.nautobot.device_interface_module__parameter-status:

.. rst-class:: ansible-option-title

**status**

.. raw:: html

<a class="ansibleOptionLink" href="#parameter-status" title="Permalink to this option"></a>

.. rst-class:: ansible-option-type-line

:ansible-option-type:`any`

:ansible-option-versionadded:`added in networktocode.nautobot 4.4.0`


.. raw:: html

</div>

- .. raw:: html

<div class="ansible-option-cell">

The status of the interface

Required if \ :emphasis:`state=present`\ and using \ :emphasis:`api\_version`\ 1.4+


.. raw:: html

</div>
Expand Down Expand Up @@ -1059,6 +1172,23 @@ Examples
enabled: false
custom_fields:
monitored: True
- name: Create child interface
networktocode.nautobot.device_interface:
url: http://nautobot.local
token: thisIsMyToken
device: test100
name: GigabitEthernet1/1/1
type: Virtual
parent_interface:
name: GigabitEthernet1/1
- name: Create bridge interface
networktocode.nautobot.device_interface:
url: http://nautobot.local
token: thisIsMyToken
device: test100
name: Bridge1
bridge:
name: GigabitEthernet1/1



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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This module is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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 @@ -42,7 +42,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.3.1).
This inventory plugin is part of the `networktocode.nautobot collection <https://galaxy.ansible.com/networktocode/nautobot>`_ (version 4.5.0).

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.3.1
Collection version 4.5.0

.. contents::
:local:
Expand Down
Loading