Skip to content

Commit 3867f53

Browse files
authored
Merge pull request #659 from netbox-community/devel
Release 3.4.0.
2 parents b0faee3 + 8381c5a commit 3867f53

File tree

172 files changed

+3328
-3759
lines changed

Some content is hidden

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

172 files changed

+3328
-3759
lines changed

.github/ISSUE_TEMPLATE/new-issue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ Also test if the latest release, and master branch are affected too.
2525
###### Ansible:
2626
<!--- Ansible Version ansible --version -->
2727

28-
###### Netbox:
29-
<!--- Netbox Version -->
28+
###### NetBox:
29+
<!--- NetBox Version -->
3030

3131
###### Collection:
32-
<!--- Netbox Ansible Module Collection Version -->
32+
<!--- NetBox Ansible Module Collection Version -->
3333

3434
##### SUMMARY
3535
<!--- Explain the problem briefly -->

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
- python-version: 3.8
5252
VERSION: "v2.11"
5353
INTEGRATION_TESTS: "v2.11"
54-
#- python-version: 3.6
55-
# VERSION: "v3.0"
56-
# INTEGRATION_TESTS: "v3.0"
54+
- python-version: 3.8
55+
VERSION: "v3.0"
56+
INTEGRATION_TESTS: "v3.0"
5757
steps:
5858
- name: Checkout repo
5959
uses: actions/checkout@v2
@@ -136,7 +136,7 @@ jobs:
136136
run: |
137137
docker container ls
138138
docker logs netbox-docker_netbox_1
139-
timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:32768)" != "200" ]]; do echo "waiting for Netbox"; sleep 5; done' || false
139+
timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:32768)" != "200" ]]; do echo "waiting for NetBox"; sleep 5; done' || false
140140
working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox
141141
- name: Pre-populate NetBox
142142
run: ./tests/integration/netbox-deploy.py
@@ -156,8 +156,8 @@ jobs:
156156
# Run regression and integration tests
157157
# Run the inventory test first, in case any of the other tests modify the data.
158158
run: |
159-
ansible-test integration -v --coverage --python ${{ matrix.python-version }} inventory-${{ matrix.INTEGRATION_TESTS }}
160-
ansible-test integration -v --coverage --python ${{ matrix.python-version }} regression-${{ matrix.INTEGRATION_TESTS }}
161-
ansible-test integration -v --coverage --python ${{ matrix.python-version }} ${{ matrix.INTEGRATION_TESTS }}
159+
ansible-test integration -v --color --coverage --python ${{ matrix.python-version }} inventory-${{ matrix.INTEGRATION_TESTS }}
160+
ansible-test integration -v --color --coverage --python ${{ matrix.python-version }} regression-${{ matrix.INTEGRATION_TESTS }}
161+
ansible-test integration -v --color --coverage --python ${{ matrix.python-version }} ${{ matrix.INTEGRATION_TESTS }}
162162
ansible-test coverage report --all --omit "tests/*,hacking/*,docs/*" --show-missing
163163
working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox

CHANGELOG.rst

Lines changed: 83 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,38 @@
11
===========================
2-
Netbox.Netbox Release Notes
2+
NetBox.NetBox Release Notes
33
===========================
44

55
.. contents:: Topics
66

77

8+
v3.4.0
9+
======
10+
11+
Minor Changes
12+
-------------
13+
14+
- nb_inventory - Add documentation for use of inventory plugin in Tower/AWX [#648](https://github.com/netbox-community/ansible_modules/pull/648)
15+
- nb_inventory - Cache OpenAPI locally to speed up inventory [#617](https://github.com/netbox-community/ansible_modules/pull/617)
16+
- nb_lookup - Add missing endpoints to nb_lookup [#655](https://github.com/netbox-community/ansible_modules/pull/655)
17+
- netbox_cable - Improve lookup speed on NetBox versions earlier than 3.0.6 [#645](https://github.com/netbox-community/ansible_modules/pull/645)
18+
- netbox_inventory_item - Add label and custom fields to module [#632](https://github.com/netbox-community/ansible_modules/pull/632)
19+
- netbox_provider_network - Add module for handling provider networks [#653](https://github.com/netbox-community/ansible_modules/pull/653)
20+
- netbox_virtual_chassis - Add custom_fields to netbox_virtual_chassis [#657](https://github.com/netbox-community/ansible_modules/pull/657)
21+
- netbox_vm_interface - Add custom fields to module [#637](https://github.com/netbox-community/ansible_modules/pull/637)
22+
23+
Bugfixes
24+
--------
25+
26+
- nb_lookup - Fix documentation of validate_cert [#629](https://github.com/netbox-community/ansible_modules/pull/629)
27+
- netbox_site - Ensure idempotency between NetBox version 2.11 and 3.00 [#631](https://github.com/netbox-community/ansible_modules/pull/631)
28+
- netbox_virtual_chassis - Fix issue with virtual chassis creation [#657](https://github.com/netbox-community/ansible_modules/pull/657)
29+
- netbox_virtual_machine - Ensure idempotency between NetBox version 2.11 and 3.00 [#633](https://github.com/netbox-community/ansible_modules/pull/633)
30+
31+
New Modules
32+
-----------
33+
34+
- netbox.netbox.netbox_provider_network - Create, update or delete Provider Network in NetBox
35+
836
v3.3.0
937
======
1038

@@ -82,7 +110,7 @@ v3.1.0
82110
Release Summary
83111
---------------
84112

85-
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.
113+
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.
86114
**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.
87115

88116

@@ -164,7 +192,7 @@ Bugfixes
164192
New Modules
165193
-----------
166194

167-
- netbox.netbox.netbox_route_target - Creates or removes route targets from Netbox
195+
- netbox.netbox.netbox_route_target - Creates or removes route targets from NetBox
168196

169197
v1.2.1
170198
======
@@ -212,7 +240,7 @@ Bugfixes
212240
New Modules
213241
-----------
214242

215-
- netbox.netbox.netbox_tag - Creates or removes tags from Netbox
243+
- netbox.netbox.netbox_tag - Creates or removes tags from NetBox
216244

217245
v1.1.0
218246
======
@@ -328,10 +356,10 @@ Bugfixes
328356
New Modules
329357
-----------
330358

331-
- netbox.netbox.netbox_cable - Create, update or delete cables within Netbox
332-
- netbox.netbox.netbox_device_bay_template - Create, update or delete device bay templates within Netbox
333-
- netbox.netbox.netbox_device_interface_template - Creates or removes interfaces on devices from Netbox
334-
- netbox.netbox.netbox_virtual_chassis - Create, update or delete virtual chassis within Netbox
359+
- netbox.netbox.netbox_cable - Create, update or delete cables within NetBox
360+
- netbox.netbox.netbox_device_bay_template - Create, update or delete device bay templates within NetBox
361+
- netbox.netbox.netbox_device_interface_template - Creates or removes interfaces on devices from NetBox
362+
- netbox.netbox.netbox_virtual_chassis - Create, update or delete virtual chassis within NetBox
335363

336364
v0.2.3
337365
======
@@ -355,20 +383,20 @@ Bugfixes
355383
New Modules
356384
-----------
357385

358-
- netbox.netbox.netbox_console_port - Create, update or delete console ports within Netbox
359-
- netbox.netbox.netbox_console_port_template - Create, update or delete console port templates within Netbox
360-
- netbox.netbox.netbox_console_server_port - Create, update or delete console server ports within Netbox
361-
- netbox.netbox.netbox_console_server_port_template - Create, update or delete console server port templates within Netbox
362-
- netbox.netbox.netbox_front_port - Create, update or delete front ports within Netbox
363-
- netbox.netbox.netbox_front_port_template - Create, update or delete front port templates within Netbox
364-
- netbox.netbox.netbox_power_feed - Create, update or delete power feeds within Netbox
365-
- netbox.netbox.netbox_power_outlet - Create, update or delete power outlets within Netbox
366-
- netbox.netbox.netbox_power_outlet_template - Create, update or delete power outlet templates within Netbox
367-
- netbox.netbox.netbox_power_panel - Create, update or delete power panels within Netbox
368-
- netbox.netbox.netbox_power_port - Create, update or delete power ports within Netbox
369-
- netbox.netbox.netbox_power_port_template - Create, update or delete power port templates within Netbox
370-
- netbox.netbox.netbox_rear_port - Create, update or delete rear ports within Netbox
371-
- netbox.netbox.netbox_rear_port_template - Create, update or delete rear port templates within Netbox
386+
- netbox.netbox.netbox_console_port - Create, update or delete console ports within NetBox
387+
- netbox.netbox.netbox_console_port_template - Create, update or delete console port templates within NetBox
388+
- netbox.netbox.netbox_console_server_port - Create, update or delete console server ports within NetBox
389+
- netbox.netbox.netbox_console_server_port_template - Create, update or delete console server port templates within NetBox
390+
- netbox.netbox.netbox_front_port - Create, update or delete front ports within NetBox
391+
- netbox.netbox.netbox_front_port_template - Create, update or delete front port templates within NetBox
392+
- netbox.netbox.netbox_power_feed - Create, update or delete power feeds within NetBox
393+
- netbox.netbox.netbox_power_outlet - Create, update or delete power outlets within NetBox
394+
- netbox.netbox.netbox_power_outlet_template - Create, update or delete power outlet templates within NetBox
395+
- netbox.netbox.netbox_power_panel - Create, update or delete power panels within NetBox
396+
- netbox.netbox.netbox_power_port - Create, update or delete power ports within NetBox
397+
- netbox.netbox.netbox_power_port_template - Create, update or delete power port templates within NetBox
398+
- netbox.netbox.netbox_rear_port - Create, update or delete rear ports within NetBox
399+
- netbox.netbox.netbox_rear_port_template - Create, update or delete rear port templates within NetBox
372400

373401
v0.2.2
374402
======
@@ -469,7 +497,7 @@ v0.1.7
469497
Minor Changes
470498
-------------
471499

472-
- Added fetching services for devices in Netbox Inventory Plugin (https://github.com/netbox-community/ansible_modules/issues/58)
500+
- Added fetching services for devices in NetBox Inventory Plugin (https://github.com/netbox-community/ansible_modules/issues/58)
473501
- Added option for interfaces and IP addresses of interfaces to be fetched via inventory plugin (https://github.com/netbox-community/ansible_modules/issues/60)
474502
- Change lookups to property for subclassing of inventory plugin (https://github.com/netbox-community/ansible_modules/issues/62)
475503

@@ -489,13 +517,13 @@ Minor Changes
489517
-------------
490518

491519
- Add dns_name to netbox_ip_address (https://github.com/netbox-community/ansible_modules/issues/84)
492-
- Add region and region_id to query_filter for Netbox Inventory plugin (https://github.com/netbox-community/ansible_modules/issues/83)
520+
- Add region and region_id to query_filter for NetBox Inventory plugin (https://github.com/netbox-community/ansible_modules/issues/83)
493521

494522
Bugfixes
495523
--------
496524

497525
- Fixed vlan searching with vlan_group for netbox_prefix (https://github.com/netbox-community/ansible_modules/issues/85)
498-
- Removed static choices from netbox_utils and now pulls the choices for each endpoint from the Netbox API at call time (https://github.com/netbox-community/ansible_modules/issues/67)
526+
- Removed static choices from netbox_utils and now pulls the choices for each endpoint from the NetBox API at call time (https://github.com/netbox-community/ansible_modules/issues/67)
499527

500528
v0.1.5
501529
======
@@ -506,14 +534,14 @@ Bugfixes
506534
- Add argument specs for every module to validate data passed in. Fixes some idempotency issues. POSSIBLE BREAKING CHANGE (https://github.com/netbox-community/ansible_modules/issues/68)
507535
- Allow name updates to manufacturers (https://github.com/netbox-community/ansible_modules/issues/76)
508536
- Builds slug for netbox_device_type from model which is now required and slug is optional. Model will be slugified if slug is not provided BREAKING CHANGE (https://github.com/netbox-community/ansible_modules/issues/77)
509-
- Fail module with proper exception when connection to Netbox API cannot be established (https://github.com/netbox-community/ansible_modules/issues/80)
537+
- Fail module with proper exception when connection to NetBox API cannot be established (https://github.com/netbox-community/ansible_modules/issues/80)
510538
- netbox_device_interface Lag no longer has to be a dictionary and the value of the key can be the name of the LAG (https://github.com/netbox-community/ansible_modules/issues/81)
511-
- netbox_ip_address If no address has no CIDR notation, it will convert it into a /32 and pass to Netbox. Fixes idempotency cidr notation is not provided (https://github.com/netbox-community/ansible_modules/issues/78)
539+
- netbox_ip_address If no address has no CIDR notation, it will convert it into a /32 and pass to NetBox. Fixes idempotency cidr notation is not provided (https://github.com/netbox-community/ansible_modules/issues/78)
512540

513541
New Modules
514542
-----------
515543

516-
- netbox.netbox.netbox_service - Creates or removes service from Netbox
544+
- netbox.netbox.netbox_service - Creates or removes service from NetBox
517545

518546
v0.1.3
519547
======
@@ -559,30 +587,30 @@ Breaking Changes / Porting Guide
559587
New Modules
560588
-----------
561589

562-
- netbox.netbox.netbox_aggregate - Creates or removes aggregates from Netbox
563-
- netbox.netbox.netbox_circuit - Create, update or delete circuits within Netbox
564-
- netbox.netbox.netbox_circuit_termination - Create, update or delete circuit terminations within Netbox
565-
- netbox.netbox.netbox_circuit_type - Create, update or delete circuit types within Netbox
566-
- netbox.netbox.netbox_cluster - Create, update or delete clusters within Netbox
567-
- netbox.netbox.netbox_cluster_group - Create, update or delete cluster groups within Netbox
568-
- netbox.netbox.netbox_cluster_type - Create, update or delete cluster types within Netbox
569-
- netbox.netbox.netbox_device_bay - Create, update or delete device bays within Netbox
570-
- netbox.netbox.netbox_device_role - Create, update or delete devices roles within Netbox
571-
- netbox.netbox.netbox_device_type - Create, update or delete device types within Netbox
572-
- netbox.netbox.netbox_inventory_item - Creates or removes inventory items from Netbox
573-
- netbox.netbox.netbox_ipam_role - Creates or removes ipam roles from Netbox
574-
- netbox.netbox.netbox_manufacturer - Create or delete manufacturers within Netbox
575-
- netbox.netbox.netbox_platform - Create or delete platforms within Netbox
576-
- netbox.netbox.netbox_provider - Create, update or delete providers within Netbox
577-
- netbox.netbox.netbox_rack - Create, update or delete racks within Netbox
578-
- netbox.netbox.netbox_rack_group - Create, update or delete racks groups within Netbox
579-
- netbox.netbox.netbox_rack_role - Create, update or delete racks roles within Netbox
580-
- netbox.netbox.netbox_region - Creates or removes regions from Netbox
581-
- netbox.netbox.netbox_rir - Create, update or delete RIRs within Netbox
582-
- netbox.netbox.netbox_tenant - Creates or removes tenants from Netbox
583-
- netbox.netbox.netbox_tenant_group - Creates or removes tenant groups from Netbox
584-
- netbox.netbox.netbox_virtual_machine - Create, update or delete virtual_machines within Netbox
585-
- netbox.netbox.netbox_vlan - Create, update or delete vlans within Netbox
586-
- netbox.netbox.netbox_vlan_group - Create, update or delete vlans groups within Netbox
587-
- netbox.netbox.netbox_vm_interface - Creates or removes interfaces from virtual machines in Netbox
588-
- netbox.netbox.netbox_vrf - Create, update or delete vrfs within Netbox
590+
- netbox.netbox.netbox_aggregate - Creates or removes aggregates from NetBox
591+
- netbox.netbox.netbox_circuit - Create, update or delete circuits within NetBox
592+
- netbox.netbox.netbox_circuit_termination - Create, update or delete circuit terminations within NetBox
593+
- netbox.netbox.netbox_circuit_type - Create, update or delete circuit types within NetBox
594+
- netbox.netbox.netbox_cluster - Create, update or delete clusters within NetBox
595+
- netbox.netbox.netbox_cluster_group - Create, update or delete cluster groups within NetBox
596+
- netbox.netbox.netbox_cluster_type - Create, update or delete cluster types within NetBox
597+
- netbox.netbox.netbox_device_bay - Create, update or delete device bays within NetBox
598+
- netbox.netbox.netbox_device_role - Create, update or delete devices roles within NetBox
599+
- netbox.netbox.netbox_device_type - Create, update or delete device types within NetBox
600+
- netbox.netbox.netbox_inventory_item - Creates or removes inventory items from NetBox
601+
- netbox.netbox.netbox_ipam_role - Creates or removes ipam roles from NetBox
602+
- netbox.netbox.netbox_manufacturer - Create or delete manufacturers within NetBox
603+
- netbox.netbox.netbox_platform - Create or delete platforms within NetBox
604+
- netbox.netbox.netbox_provider - Create, update or delete providers within NetBox
605+
- netbox.netbox.netbox_rack - Create, update or delete racks within NetBox
606+
- netbox.netbox.netbox_rack_group - Create, update or delete racks groups within NetBox
607+
- netbox.netbox.netbox_rack_role - Create, update or delete racks roles within NetBox
608+
- netbox.netbox.netbox_region - Creates or removes regions from NetBox
609+
- netbox.netbox.netbox_rir - Create, update or delete RIRs within NetBox
610+
- netbox.netbox.netbox_tenant - Creates or removes tenants from NetBox
611+
- netbox.netbox.netbox_tenant_group - Creates or removes tenant groups from NetBox
612+
- netbox.netbox.netbox_virtual_machine - Create, update or delete virtual_machines within NetBox
613+
- netbox.netbox.netbox_vlan - Create, update or delete vlans within NetBox
614+
- netbox.netbox.netbox_vlan_group - Create, update or delete vlans groups within NetBox
615+
- netbox.netbox.netbox_vm_interface - Creates or removes interfaces from virtual machines in NetBox
616+
- netbox.netbox.netbox_vrf - Create, update or delete vrfs within NetBox

0 commit comments

Comments
 (0)