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

Add support for Nautobot REST API versioning #139

Merged
merged 25 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2436e29
Add api_versioning capability
timizuoebideri1 Apr 24, 2022
f665490
Update plugins.modules.tags, Add new field relevant to version 1.3
timizuoebideri1 Apr 24, 2022
3fd42db
Add api_version to test
timizuoebideri1 Apr 24, 2022
ebb40eb
Bulk add api_version to .rst in plugins
timizuoebideri1 Apr 26, 2022
b2ac7ae
Modify _ansible_collections.networktocode.nautobot.
timizuoebideri1 Apr 26, 2022
000ecc8
temp_api version
timizuoebideri1 Apr 27, 2022
b53e4da
Temp update docs
timizuoebideri1 Apr 27, 2022
777997d
finish module .rts doc update
timizuoebideri1 Apr 27, 2022
0385f39
inventory docs fix
timizuoebideri1 Apr 27, 2022
e2bcb43
add tag content_types to docs
timizuoebideri1 Apr 27, 2022
d7847c9
Add test case for api_version
timizuoebideri1 May 4, 2022
3d3f63d
Add api_version to lookup
timizuoebideri1 May 4, 2022
2ae64ad
Update pynautobot version
timizuoebideri1 May 4, 2022
676decb
remove last test in regression-latest
timizuoebideri1 May 4, 2022
c347c0c
fix test error 1
timizuoebideri1 May 4, 2022
b1483ac
remove irrelevant closing bracket
timizuoebideri1 May 25, 2022
5b2366d
capitalize all occurrence of Api
timizuoebideri1 May 25, 2022
7e75abe
Add version_added to relevant modules
timizuoebideri1 Jun 21, 2022
dc2e292
Update rst docs
timizuoebideri1 Jun 21, 2022
2f43878
Update .gitignore
timizuoebideri1 Jun 23, 2022
07f294a
Revert doc updates to be done on release branch. Update version_added…
FragmentedPacket Jul 26, 2022
23f51ce
Merge branch 'develop' into timizuo-feat-versioning
FragmentedPacket Jul 26, 2022
c87311b
Add api_version to relationship_association module.
FragmentedPacket Jul 26, 2022
9c1ff5b
Update version_added for lookup plugins
FragmentedPacket Jul 26, 2022
87ed5f3
Update dependencies and fix inventory to use the api_versioning corre…
FragmentedPacket Aug 24, 2022
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
34 changes: 34 additions & 0 deletions docs/plugins/aggregate_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.aggregate_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/cable_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.cable_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/circuit_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.circuit_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/circuit_termination_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.circuit_termination_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/circuit_type_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.circuit_type_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/cluster_group_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.cluster_group_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/cluster_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.cluster_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/cluster_type_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.cluster_type_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
34 changes: 34 additions & 0 deletions docs/plugins/console_port_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ Parameters
* - Parameter
- Comments

* - .. raw:: html

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

.. _ansible_collections.networktocode.nautobot.console_port_module__parameter-api_version:

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

**api_version**

.. raw:: html

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

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

:ansible-option-type:`string`

.. raw:: html

</div>

- .. raw:: html

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

API Version Nautobot REST Api


.. raw:: html

</div>

* - .. raw:: html

<div class="ansible-option-cell">
Expand Down
Loading