Skip to content

Commit 9c0b725

Browse files
Update docs and changelog for 3.1.0 release (#512)
1 parent 0de8cb7 commit 9c0b725

File tree

60 files changed

+353
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+353
-86
lines changed

CHANGELOG.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,42 @@ Netbox.Netbox Release Notes
55
.. contents:: Topics
66

77

8+
v3.1.0
9+
======
10+
11+
Release Summary
12+
---------------
13+
14+
This release should fix obvious broken changes between collection and Netbox 2.11, but there is most likely more. Please report as they're encountered.
15+
**packages** is now a required Python package and is already included in Ansible 2.10, but anyone using Ansible 2.9 or below must manually pip install the library.
16+
17+
18+
Major Changes
19+
-------------
20+
21+
- packages is now a required Python package and gets installed via Ansible 2.10+.
22+
23+
Minor Changes
24+
-------------
25+
26+
- netbox_device_interface - Add label option.
27+
- netbox_device_interface - Add mark_connected option.
28+
- netbox_power_panel - Add location option.
29+
- netbox_rack - Add location option.
30+
- netbox_vlan_group - Add custom_fields option.
31+
- netbox_vlan_group - Add description option.
32+
- netbox_vlan_group - Add scope option.
33+
- netbox_vlan_group - Add scope_type option.
34+
35+
Bugfixes
36+
--------
37+
38+
- Allow ``virtual_chassis`` to be found via name [#402](https://github.com/netbox-community/ansible_modules/issues/402)
39+
- Fix mapping between power_outlet_template and power_port_template.
40+
- inventory - Fix rack-group -> location for NetBox 2.11 changes.
41+
- inventory - Properly handle interface tags.
42+
- netbox_tenant - Fix example to match argspec.
43+
844
v3.0.0
945
======
1046

changelogs/changelog.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,3 +495,36 @@ releases:
495495
fragments:
496496
- release-3.0.0.yml
497497
release_date: '2021-03-08'
498+
3.1.0:
499+
changes:
500+
bugfixes:
501+
- Allow ``virtual_chassis`` to be found via name [#402](https://github.com/netbox-community/ansible_modules/issues/402)
502+
- Fix mapping between power_outlet_template and power_port_template.
503+
- inventory - Fix rack-group -> location for NetBox 2.11 changes.
504+
- inventory - Properly handle interface tags.
505+
- netbox_tenant - Fix example to match argspec.
506+
major_changes:
507+
- packages is now a required Python package and gets installed via Ansible 2.10+.
508+
minor_changes:
509+
- netbox_device_interface - Add label option.
510+
- netbox_device_interface - Add mark_connected option.
511+
- netbox_power_panel - Add location option.
512+
- netbox_rack - Add location option.
513+
- netbox_vlan_group - Add custom_fields option.
514+
- netbox_vlan_group - Add description option.
515+
- netbox_vlan_group - Add scope option.
516+
- netbox_vlan_group - Add scope_type option.
517+
release_summary: 'This release should fix obvious broken changes between collection
518+
and Netbox 2.11, but there is most likely more. Please report as they''re
519+
encountered.
520+
521+
**packages** is now a required Python package and is already included in Ansible
522+
2.10, but anyone using Ansible 2.9 or below must manually pip install the
523+
library.
524+
525+
'
526+
fragments:
527+
- 2.11-changes.yml
528+
- issue-402.yml
529+
- release-summary-3.1.0.yml
530+
release_date: '2021-05-08'

changelogs/fragments/2.11-changes.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

changelogs/fragments/issue-402.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/plugins/index.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Netbox.Netbox
66
=============
77

8-
Collection version 3.0.0
8+
Collection version 3.1.0
99

1010
.. toctree::
1111
:maxdepth: 1

docs/plugins/nb_inventory_inventory.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.nb_inventory -- NetBox inventory source
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/nb_lookup_lookup.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.nb_lookup -- Queries and returns elements from Netbox
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_aggregate_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_aggregate -- Creates or removes aggregates from Netbox
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_cable_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_cable -- Create, update or delete cables within Netbox
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_circuit_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_circuit -- Create, update or delete circuits within Netbox
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_circuit_termination_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_circuit_termination -- Create, update or delete circuit ter
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_circuit_type_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_circuit_type -- Create, update or delete circuit types with
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_cluster_group_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_cluster_group -- Create, update or delete cluster groups wi
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_cluster_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_cluster -- Create, update or delete clusters within Netbox
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_cluster_type_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_cluster_type -- Create, update or delete cluster types with
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_console_port_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_console_port -- Create, update or delete console ports with
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_console_port_template_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_console_port_template -- Create, update or delete console p
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_console_server_port_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_console_server_port -- Create, update or delete console ser
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_console_server_port_template_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_console_server_port_template -- Create, update or delete co
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_device_bay_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_device_bay -- Create, update or delete device bays within N
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_device_bay_template_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_device_bay_template -- Create, update or delete device bay
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_device_interface_module.rst

100644100755
Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_device_interface -- Creates or removes interfaces on device
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

@@ -154,6 +154,22 @@ Parameters
154154
ex. 1000Base-T (1GE), Virtual, 10GBASE-T (10GE)
155155
This has to be specified exactly as what is found within UI</div>
156156
</td>
157+
</tr>
158+
<tr>
159+
<td class="elbow-placeholder"></td>
160+
<td colspan="1">
161+
<div class="ansibleOptionAnchor" id="parameter-data/label"></div>
162+
<b>label</b>
163+
<a class="ansibleOptionLink" href="#parameter-data/label" title="Permalink to this option"></a>
164+
<div style="font-size: small">
165+
<span style="color: purple">string</span>
166+
</div>
167+
</td>
168+
<td>
169+
</td>
170+
<td>
171+
<div>Physical label of the interface</div>
172+
</td>
157173
</tr>
158174
<tr>
159175
<td class="elbow-placeholder"></td>
@@ -186,6 +202,26 @@ Parameters
186202
<td>
187203
<div>The MAC address of the interface</div>
188204
</td>
205+
</tr>
206+
<tr>
207+
<td class="elbow-placeholder"></td>
208+
<td colspan="1">
209+
<div class="ansibleOptionAnchor" id="parameter-data/mark_connected"></div>
210+
<b>mark_connected</b>
211+
<a class="ansibleOptionLink" href="#parameter-data/mark_connected" title="Permalink to this option"></a>
212+
<div style="font-size: small">
213+
<span style="color: purple">boolean</span>
214+
</div>
215+
</td>
216+
<td>
217+
<ul style="margin: 0; padding: 0"><b>Choices:</b>
218+
<li>no</li>
219+
<li>yes</li>
220+
</ul>
221+
</td>
222+
<td>
223+
<div>Mark an interface as connected without a cable attached (netbox &gt;= 2.11 required)</div>
224+
</td>
189225
</tr>
190226
<tr>
191227
<td class="elbow-placeholder"></td>
@@ -526,6 +562,15 @@ Examples
526562
name: GigabitEthernet2/0/1
527563
enabled: false
528564
update_vc_child: True
565+
- name: Mark interface as connected without a cable (netbox >= 2.11 required)
566+
netbox.netbox.netbox_device_interface:
567+
netbox_url: http://netbox.local
568+
netbox_token: thisIsMyToken
569+
data:
570+
device: test100
571+
name: GigabitEthernet1
572+
mark_connected: true
573+
state: present
529574

530575

531576

docs/plugins/netbox_device_interface_template_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_device_interface_template -- Creates or removes interfaces
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_device_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_device -- Create, update or delete devices within Netbox
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_device_role_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_device_role -- Create, update or delete devices roles withi
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_device_type_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_device_type -- Create, update or delete device types within
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_front_port_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_front_port -- Create, update or delete front ports within N
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_front_port_template_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_front_port_template -- Create, update or delete front port
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_inventory_item_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_inventory_item -- Creates or removes inventory items from N
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

docs/plugins/netbox_ip_address_module.rst

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ netbox.netbox.netbox_ip_address -- Creates or removes IP addresses from Netbox
2020
.. Collection note
2121
2222
.. note::
23-
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.0.0).
23+
This plugin is part of the `netbox.netbox collection <https://galaxy.ansible.com/netbox/netbox>`_ (version 3.1.0).
2424

2525
To install it use: :code:`ansible-galaxy collection install netbox.netbox`.
2626

0 commit comments

Comments
 (0)