Topics
- v3.18.0
- v3.17.0
- v3.16.0
- v3.15.0
- v3.14.0
- v3.13.0
- v3.12.0
- v3.11.0
- v3.10.0
- v3.9.0
- v3.8.1
- v3.8.0
- v3.7.1
- v3.7.0
- v3.6.0
- v3.5.1
- v3.5.0
- v3.4.0
- v3.3.0
- v3.2.0
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.0
- v2.1.0
- v2.0.0
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- v0.3.1
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- nb_inventory - Add Virtual Disks to inventory [#1188](netbox-community#1188)
- nb_inventory - Don't extract null values from custom fields [#1184](netbox-community#1184)
- nb_inventory - Improve documentation for oob_ip_as_primary_ip [#1218](netbox-community#1218)
- nb_inventory - Make oob_ip available regardless of oob_ip_as_primary_ip option [#1211](netbox-community#1211)
- nb_lookup - Add custom field choice set [#1186](netbox-community#1186)
- nb_lookup - Add endpoint for Virtual Disks [#1177](netbox-community#1177)
- netbox_device_type and netbox_rack - Change u_height to float [#1200](netbox-community#1200)
- netbox_export_templates - Update documentation [#1214](netbox-community#1214)
- netbox_power_port - Add label [#1202](netbox-community#1202)
- netbox.netbox.netbox_custom_field_choice_set - Create, updates, or removes Custom Field Choice sets
- netbox.netbox.netbox_module_bay - Create, updates, or removes Module Bay
- CI - CI adjustments [#1154](netbox-community#1154) [#1155](netbox-community#1155) [#1157](netbox-community#1157)
- nb_lookup - Add new VPN endpoints for NetBox 3.7 support [#1162](netbox-community#1162)
- netbox_rack_role - Add description option [#1143](netbox-community#1143)
- netbox_virtual_disk - New module [#1153](netbox-community#1153)
- netbox_virtual_machine and netbox_device - Add option config_template [#1171](netbox-community#1171)
- netbox_vlan - Fix documentation of vlan_group [#1138](netbox-community#1138)
- netbox.netbox.netbox_virtual_disk - Create, updates, or removes a disk from a Virtual Machine
- nb_inventory - Add facility group_by option [#1059](netbox-community#1059)
- nb_inventory - Enable ansible-vault strings in config-context data [#1114](netbox-community#1114)
- netbox_platform - Add config_template option to netbox_platform [#1119](netbox-community#1119)
- netbox_power_port_template - Add option module_type to netbox_power_port_template [#1105](netbox-community#1105)
- Improve error reporting for missing module [#1126](netbox-community#1126)
- nb_inventory - Fix API cache failure [#1111](netbox-community#1111)
- nb_lookup - Allow multiple IDs in nb_lookup [#1042](netbox-community#1042)
- netbox_config_template - New module [#1090](netbox-community#1090)
- netbox_device - Add oob_ip to device [#1085](netbox-community#1085)
- netbox_device_type - Add default_platform [#1092](netbox-community#1092)
- netbox_ device - Adjust device_role to role for NetBox 3.6 [#1066](netbox-community#1066)
- netbox.netbox.netbox_config_template - Creates, updates, or removed a config template from NetBox
- API - Add possibility to use Bearer token [#1023](netbox-community#1023)
- custom fields - Add datetime as an custom field option [#1019](netbox-community#1019)
- netbox_cable - Add tenant [#1027](netbox-community#1027)
- netbox_circuit_type, netbox_device_interface - Add missing options [#1025](netbox-community#1025)
- netbox_custom_field - Add hidden-ifunset option [#1048](netbox-community#1048)
- netbox_inventory_item - Add role to module [#1050](netbox-community#1050)
- netbox_power_port - Add missing power port option [#1049](netbox-community#1049)
- Fix schema caching [#1053](netbox-community#1053)
- nb_inventory - Enable NetBox 3.5 support [#999](netbox-community#999)
- netbox_fhrp_group_assignment - Add module [#974](netbox-community#974)
- netbox_lsvpn_termination - Add module [#994](netbox-community#994)
- netbox_cable - Fix idempotency [#990](netbox-community#990)
- netbox.netbox.netbox_fhrp_group_assignment - Creates, updates or removes FHRP group assignments from NetBox
- netbox.netbox.netbox_lsvpn_termination - Creates, updates or removes L2VPNs terminations from NetBox
- netbox_aggregate - Add tenant as parameter to module [#968](netbox-community#968)
- netbox_asn - Add module [#947](netbox-community#947)
- netbox_fhrp_group - Add module [#957](netbox-community#957)
- netbox_journal_entry - Add module [#961](netbox-community#961)
- Fix partial updates of custom_fields [#944](netbox-community#944)
- nb_inventory - Fix nb_inventory group_by by site_group [#952](netbox-community#952)
- netbox_location - Add multiple filter options to make sure we find the unique location [#963](netbox-community#963)
- netbox.netbox.netbox_asn - Create, update or delete ASN in NetBox
- netbox.netbox.netbox_fhrp_group - Create, update or delete FHRP groups in NetBox
- netbox.netbox.netbox_journal_entry - Create journal entries in NetBox
- nb_inventory - Add serial and asset tag to extracted attributes [#826](netbox-community#826)
- nb_lookup - Fix pynetbox 7.0.1 compatibility [#934](netbox-community#934)
- netbox_cable - Fix NetBox 3.3 compatibility [#938](netbox-community#938)
- netbox_webhook - Fix conditions bug [#926](netbox-community#926)
- Add options for NetBox 3.4 [#905](netbox-community#905)
- netbox_custom_field - Add group_name [#882](netbox-community#882)
- netbox_device_type and netbox_device - Add airflow [#907](netbox-community#907)
- netbox_invventory_item_role - Add module [#885](netbox-community#885)
- netbox_module_type - Add module [#887](netbox-community#887)
- netbox_service_template - Add module [#908](netbox-community#908)
- nb_inventory - Raise exception on missing packaging [#900](netbox-community#900)
- netbox.netbox.netbox_inventory_item_role - Create, update or delete inventory item roles in NetBox
- netbox.netbox.netbox_module_type - Create, update or delete module types in NetBox
- netbox.netbox.netbox_service_template - Create, update or delete service templates in NetBox
- nb_lookup - Add 3.3 endpoints for lookup [#865](netbox-community#865)
- netbox_console_server and netbox_console_server_port - Add new field [#866](netbox-community#866)
- netbox_device_bay - Add label [#868](netbox-community#868)
- netbox_l2vpn - Add module [#846](netbox-community#846)
- nb_inventory - Fix site_group in inventory plugin [#872](netbox-community#872)
- nb_inventory - Make sure inventory works with ansible < 2.11 [#861](netbox-community#861)
- netbox_virtual_machine - Fix idempotency with virtual machine and NetBox 3.0 [#859](netbox-community#859)
- netbox.netbox.netbox_l2vpn - Create, update or delete L2VPN objects in NetBox
- nb_inventory - Allow for jinja templating [#834](netbox-community#834)
- Fix idempotency with custom_fields [#839](netbox-community#839)
- Add action_group to enable module defaults groups [#800](netbox-community#800)
- Expand on query_filter for site [#824](netbox-community#824)
- nb_inventory - Allow API token to be templated [#806](netbox-community#806)
- netbox_cable - Change length to float from int [#828](netbox-community#828)
- netbox_device_interface - Add PoE attribute [#820](netbox-community#820)
- netbox_location - Add tenant to module [#829](netbox-community#829)
- netbox_prefix - Add mark_utilized to module [#827](netbox-community#827)
- nb_inventory - Ensure inventory works on NetBox versions without the site group model [#781](netbox-community#781)
- nb_inventory - Fix netbox_inventory site_group group_by @ryanmerolle in [#780](netbox-community#780)
- Add meta information for use in Execution Environments [#753](netbox-community#753)
- Multiple modules - add new parameters added in NetBox 3.2 [#768](netbox-community#768)
- nb_inventory - Add site_group as an option [#755](netbox-community#755)
- netbox_front_port and netbox_rear_port - Add label as parameter [#766](netbox-community#766)
- netbox_contact_group - Fix field description [#762](netbox-community#762)
- netbox_rack - Add location as a query parameter for uniqueness check [#751](netbox-community#751)
- Add custom fields to modules missing it [#723](netbox-community#723)
- Add tags to modules missing it [#725](netbox-community#725)
- nb_inventory - Add a racks option [#701](netbox-community#701)
- netbox_custom_field - Add module [#719](netbox-community#719)
- netbox_custom_link - Add module [#722](netbox-community#722)
- netbox_device_interface, netbox_vm_interface - Add bridge to netbox_device_interface and netbox_vm_interface [#713](netbox-community#713)
- netbox_export_template - Add module [#727](netbox-community#727)
- netbox_service - Add virtual_machine as an allowed query parameter for ipaddresses [#718](netbox-community#718)
- netbox_webhook - Add module [#738](netbox-community#738)
- Config Context is now able to be added to cluster [#715](netbox-community#715)
- Ensure proper filtering for VLAN group [#741](netbox-community#741)
- Fix prefixes option in nb_inventory to ensure all prefixes are returned [#742](netbox-community#742)
- Make sure API calls on versions without the /api/status endpoint [#707](netbox-community#707)
- netbox.netbox.netbox_custom_field - Create, update or delete Custom fields in NetBox
- netbox.netbox.netbox_custom_link - Create, update or delete Custom links in NetBox
- netbox.netbox.netbox_export_template - Create, update or delete Export templates in NetBox
- netbox.netbox.netbox_webhook - Create, update or delete Webhooks in NetBox
- Fix prefix_count error on older NetBox versions in nb_inventory [#696](netbox-community#696)
First release with some NetBox 3.1 modules, and new wireless endpoint support. Remember to update your pynetbox to utilise the wireless endpoint support.
- nb_inventory - Pull extended inventory data for prefixes and site [#646](netbox-community#646)
- nb_lookup - Add endpoints for wireless (new in NetBox 3.1) [#673](netbox-community#673)
- netbox_circuit_termination - Add mark_connected field to module [#686](netbox-community#686)
- netbox_contact, netbox_contact_group, netbox_contact_role - Add modules [#671](netbox-community#671)
- netbox_inventory_item - Add parent field to module [#682](netbox-community#682)
- netbox_region - Add description, tags, custom_fields to module [#689](netbox-community#689)
- netbox_wireless_lan, netbox_wireless_lan_group, netbox_wireless_link - Add modules [#678](netbox-community#678)
- Use individual list items when looking for objects [#570](netbox-community#570)
- netbox.netbox.netbox_contact - Create, update or delete Contact objects in NetBox
- netbox.netbox.netbox_contact_group - Create, update or delete Contact Group objects in NetBox
- netbox.netbox.netbox_wireless_lan - Create, update or delete Wireless LAN objects in NetBox
- netbox.netbox.netbox_wireless_lan_group - Create, update or delete Wireless LAN Group objects in NetBox
- netbox.netbox.netbox_wireless_link - Create, update or delete Wireless Link objects in NetBox
- nb_inventory - Add documentation for use of inventory plugin in Tower/AWX [#648](netbox-community#648)
- nb_inventory - Cache OpenAPI locally to speed up inventory [#617](netbox-community#617)
- nb_lookup - Add missing endpoints to nb_lookup [#655](netbox-community#655)
- netbox_cable - Improve lookup speed on NetBox versions earlier than 3.0.6 [#645](netbox-community#645)
- netbox_inventory_item - Add label and custom fields to module [#632](netbox-community#632)
- netbox_provider_network - Add module for handling provider networks [#653](netbox-community#653)
- netbox_virtual_chassis - Add custom_fields to netbox_virtual_chassis [#657](netbox-community#657)
- netbox_vm_interface - Add custom fields to module [#637](netbox-community#637)
- nb_lookup - Fix documentation of validate_cert [#629](netbox-community#629)
- netbox_site - Ensure idempotency between NetBox version 2.11 and 3.00 [#631](netbox-community#631)
- netbox_virtual_chassis - Fix issue with virtual chassis creation [#657](netbox-community#657)
- netbox_virtual_machine - Ensure idempotency between NetBox version 2.11 and 3.00 [#633](netbox-community#633)
- netbox.netbox.netbox_provider_network - Create, update or delete Provider Network in NetBox
- Improve speed of netbox_cable module on NetBox version 3.0.6 or later [#624](netbox-community#624)
- netbox_config_context - add module for handling Config Context [#610](netbox-community#610)
- netbox_location - add module for handling Location [#543](netbox-community#543)
- netbox_site_group - add module for handling Site Group [#547](netbox-community#547)
- netbox.netbox.netbox_config_context - Create, update or delete Config Context in NetBox
- netbox.netbox.netbox_location - Create, update or delete Location in NetBox
- netbox.netbox.netbox_site_group - Create, update or delete Site Group in NetBox
- Add connected-devices to nb_lookup [#540](netbox-community#540)
- Add location and power panel as lookup keys to nb_lookup [#599](netbox-community#599)
- netbox_device_interface and netbox_vm_interface - Add parent interface to modules [#604](netbox-community#604)
- netbox_virtual_machine - Change vCPU to float from int (to reflect NetBox 3.0) [#605](netbox-community#605)
- Copy interfaces before processing [#556](netbox-community#556)
- Make attached_ips subscriptable. [#609](netbox-community#609)
This release focuses on ansible-core 2.11 compatibility, general CI fixes for NetBox 2.10-2.11, and doc updates. This release works with NetBox 3.0, but needs further investigation with regards to idopmentcy (nothing really major) & some CI. The next release will idenify and resolve any issues with NetBox 3.0.
- Add ansible-core support - Quick fix to support ansible-core 2.11 [#558](netbox-community#558)
- Add private_key option to nb_lookup for secret decryption [#532](netbox-community#532)
- Added custom certificate support [#534](netbox-community#534)
- CI testing & integration tests now leverage ansible-core 2.11 - Fixes #583: Move to Ansible-core for CI tests [#591](netbox-community#591)
- Correct Invalid NetBox readthedocs URL in nb_inventory docs [#568](netbox-community#568)
- Fixes to CI due to not pinning NetBox & NetBox-Docker version CI among other minor CI corrections - General CI Fix [573](netbox-community#573)
- README: Slack link and tidyup [#584](netbox-community#584)
- Release v3.1.2 [#594](netbox-community#594)
- Update netbox_region documentation - Documentation: netbox_region - Correct examples [#548](netbox-community#548)
- netbox_device_interface - Add custom_fields [#514](netbox-community#514)
- Inventory - Update plugin to support location for NetBox 2.11+ [#510](netbox-community#510)
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. 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.
- packages is now a required Python package and gets installed via Ansible 2.10+.
- netbox_device_interface - Add label option.
- netbox_device_interface - Add mark_connected option.
- netbox_power_panel - Add location option.
- netbox_rack - Add location option.
- netbox_vlan_group - Add custom_fields option.
- netbox_vlan_group - Add description option.
- netbox_vlan_group - Add scope option.
- netbox_vlan_group - Add scope_type option.
- Allow
virtual_chassis
to be found via name [#402](netbox-community#402) - Fix mapping between power_outlet_template and power_port_template.
- inventory - Fix rack-group -> location for NetBox 2.11 changes.
- inventory - Properly handle interface tags.
- netbox_tenant - Fix example to match argspec.
- Allow rack to be in query_param_ids [#443](netbox-community#443)
- netbox_cable - Add tags option [#455](netbox-community#455)
- netbox_cluster_type - Add description option [#451](netbox-community#451)
- netbox_ipam_role - Add description option [#451](netbox-community#451)
- netbox_manufacturer - Add description option [#451](netbox-community#451)
- netbox_rir - Add description option [#451](netbox-community#451)
- netbox_tenant_group - Add parent_tenant_group option [#460](netbox-community#460)
- Remove ansible.netcommon and community.general dependencies from collection
- Inventory - Added ansible_host_dns_name to set ansible_host to dns_name
- netbox_device_role - Added description option
- netbox_platform - Added description option
- netbox_ip_address - Added assigned_object to ALLOWED_QUERY_PARAMS
- Added
import_targets
andexport_targets
options tonetbox_vrf
- netbox_site - Changed latitude/longitude type from float to str [#418](netbox-community#418)
- netbox_utils - If query_dict is None, fail and provide meaningful error [#419](netbox-community#419)
- netbox_utils - Remove manual manipulation for building query params for netbox_ip_address and assigned object [#421](netbox-community#421)
- netbox.netbox.netbox_route_target - Creates or removes route targets from NetBox
- Allow IDs to be passed into objects that accept a list (netbox-community#407)
- nb_inventory - Add
dns_name
option that addsdns_name
to the host whenTrue
and device has a primary IP address. (#394) - nb_inventory - Add
status
as agroup_by
option. (398) - nb_inventory - Move around
extracted_primary_ip
to allow forconfig_context
orcustom_field
to overwite. (#377) - nb_inventory - Services are now a list of integers due to NetBox 2.10 changes. (#396)
- nb_lookup - Allow ID to be passed in and use
.get
instead of.filter
. (#376) - nb_lookup - Allow
api_endpoint
andtoken
to be found via env. (#391)
- nb_inventory - Added
status
as host_var. (359) - nb_inventory - Added documentation for using
keyed_groups
. (#361) - nb_inventory - Allow to use virtual chassis name instead of device name. (#383)
- nb_lookup - Allow lookup of plugin endpoints. (#360)
- nb_lookup - Documentation update to show Fully Qualified Collection Name (FQCN). (#355)
- netbox_service - Add
ports
option for NetBox 2.10+ and convertport
toports
if NetBox 2.9 or lower. (#396) - netbox_virtual_machine - Added
comments
option. (#380) - netbox_virtual_machine - Added
local_context_data
option. (#357)
- Version checks were failing due to converting "2.10" to a float made it an integer of 2.1 which broke version related logic. (#396)
- netbox_device_interface - Fixed copy pasta in documentation. (#371)
- netbox_ip_address - Updated documentation to show that
family
option has been deprecated. (#388) - netbox_utils - Fixed typo for
circuits.circuittermination
searches. (#367) - netbox_utils - Skip all modifications to
query_params
whenuser_query_params
is defined. (#389) - netbox_vlan - Fixed uniqueness for vlan searches to add
group
. (#386)
- netbox.netbox.netbox_tag - Creates or removes tags from NetBox
- Add
follow_redirects
option to inventory plugin (netbox-community#323)
- Prevent inventory plugin from failing on 403 and print warning message (netbox-community#354)
- Update
netbox_ip_address
module to acceptassigned_object
to work with NetBox 2.9 (netbox-community#345) - Update inventory plugin to properly associate IP address to interfaces with NetBox 2.9 (netbox-community#334)
- Update inventory plugin to work with tags with NetBox 2.9 (netbox-community#340)
- Update modules to be able to properly update tags to work with NetBox 2.9 (netbox-community#345)
- Add
virtual_machine_role=slug
toQUERY_TYPES
to properly search for Virtual Machine roles and not use the defaultq
search (netbox-community#327) - Remove
device
beingrequired
and implementedrequired_one_of
to allow eitherdevice
orvirtual_machine
to be specified fornetbox_service
(netbox-community#326) - When tags specified, it prevents other data from being updated on the object. (netbox-community#325)
- Inventory - Add group_by option
rack_role
andrack_group
- Inventory - Add group_by option
services
(netbox-community#286)
- Fix
nb_inventory
cache for ip addresses (netbox-community#276) - Return HTTPError body output when encountering HTTP errors (netbox-community#294)
- Fix query_dict for device_bay/interface_template to use
devicetype_id
(netbox-community#282) - This expands the fix to all _template modules to use devicetype_id for the query_dict when attempting to resolve the search (netbox-community#300)
- Default
validate_certs
toTrue
(netbox-community#273)
- Add
local_context_data
andflatten_local_context_data
option tonb_inventory
(netbox-community#258) - Add
local_context_data
option tonetbox_device
(netbox-community#258) - Add
virtual_chassis
,vc_position
,vc_priority
tonetbox_device
options (netbox-community#251)
To pass in integers via Ansible Jinja filters for a key in
data
that requires querying an endpoint is now done by making it a dictionary with anid
key. The previous behavior was to just pass in an integer and it was converted when normalizing the data, but some people may have names that are all integers and those were being converted erroneously so we made the decision to change the method to convert to an integer for the NetBox API.tasks: - name: Create device within NetBox with only required information netbox_device: netbox_url: http://netbox-demo.org:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: name: Test66 device_type: id: "{{ some_jinja_variable }}" device_role: Core Switch site: Test Site status: Staged state: present
pynetbox
changed to usingrequests.Session()
to manage the HTTP session which broke passing inssl_verify
when building the NetBox API client. This PR makespynetbox 5.0.4+
the new required version of pynetbox for the Ansible modules and lookup plugin. (netbox-community#269)
- Allows OR operations in API fitlers for
nb_lookup
plugin (netbox-community#246) - Build the
rear_port
andrear_port_template
query_params to properly find rear port (netbox-community#262) - Compares tags as a set to prevent issues with order difference between user supplied tags and NetBox API (netbox-community#242)
- Fixes typo for
CONVERT_TO_ID
mapping innetbox_utils
fordcim.powerport
anddcim.poweroutlet
(netbox-community#265) - Fixes typo for
CONVERT_TO_ID
mapping innetbox_utils
fordcim.rearport
(netbox-community#261) - Normalize
mac_address
to upper case (netbox-community#254) - Normalize descriptions to remove any extra whitespace (netbox-community#243)
- netbox.netbox.netbox_cable - Create, update or delete cables within NetBox
- netbox.netbox.netbox_device_bay_template - Create, update or delete device bay templates within NetBox
- netbox.netbox.netbox_device_interface_template - Creates or removes interfaces on devices from NetBox
- netbox.netbox.netbox_virtual_chassis - Create, update or delete virtual chassis within NetBox
- Adds
discovered
field tonetbox_inventory_item
(netbox-community#187) - Adds
query_params
to all modules to allow users to define thequery_params
(netbox-community#215) - Adds
tenant
field tonetbox_cluster
(netbox-community#219) - Allows private key to be passed in to
validate_certs
within modules (netbox-community#216) - Better error handling if read-only token is provided for modules. Updated README as well to say that a
write-enabled
token is required (netbox-community#238)
- Fixes bug in
netbox_prefix
failing when usingcheck_mode
(netbox-community#228) - Fixes bug in inventory plugin that fails if there are either no virtual machines, but devices defined in NetBox or vice versa from failing when
fetch_all
is set toFalse
(netbox-community#214) - Normalize any string values that are passed in via Jinja into an integer within the _normalize_data method (netbox-community#231)
- netbox.netbox.netbox_console_port - Create, update or delete console ports within NetBox
- netbox.netbox.netbox_console_port_template - Create, update or delete console port templates within NetBox
- netbox.netbox.netbox_console_server_port - Create, update or delete console server ports within NetBox
- netbox.netbox.netbox_console_server_port_template - Create, update or delete console server port templates within NetBox
- netbox.netbox.netbox_front_port - Create, update or delete front ports within NetBox
- netbox.netbox.netbox_front_port_template - Create, update or delete front port templates within NetBox
- netbox.netbox.netbox_power_feed - Create, update or delete power feeds within NetBox
- netbox.netbox.netbox_power_outlet - Create, update or delete power outlets within NetBox
- netbox.netbox.netbox_power_outlet_template - Create, update or delete power outlet templates within NetBox
- netbox.netbox.netbox_power_panel - Create, update or delete power panels within NetBox
- netbox.netbox.netbox_power_port - Create, update or delete power ports within NetBox
- netbox.netbox.netbox_power_port_template - Create, update or delete power port templates within NetBox
- netbox.netbox.netbox_rear_port - Create, update or delete rear ports within NetBox
- netbox.netbox.netbox_rear_port_template - Create, update or delete rear port templates within NetBox
- Changed
validate_certs
toraw
to allow private keys to be passed in (netbox-community#211)
- Added
interfaces
toALLOWED_QUERY_PARAMS
for ip addresses searches (netbox-community#201) - Added
type
toALLOWED_QUERY_PARAMS
for interface searches (netbox-community#208) - Remove
rack
as a choice when creating virtual machines (netbox-community#221)
- Added 21" width to netbox_rack (netbox-community#190)
- Added cluster, cluster_type, and cluster_group to group_by option in inventory plugin (netbox-community#188)
- Added option to change host_vars to singular rather than having single element lists (netbox-community#141)
- Added option to flatten
config_context
andcustom_fields
(netbox-community#193)
- Added
type
tonetbox_device_interface
and deprecation notice forform_factor
(netbox-community#193) - Fixes inventory performance issues, properly shows virtual chassis masters. (netbox-community#202)
- Add
custom_fields
tonetbox_virtual_machine
(netbox-community#170) - Add
device_query_filters
andvm_query_filters
to allow users to specify query filters for the specific type (netbox-community#140) - Added
group_names_raw
option to the netbox inventory to allow users have the group names be the slug rather than prepending the group name with the type (netbox-community#138) - Added
raw_output
option to netbox lookup plugin to return the exact output from the API with no doctoring (netbox-community#136) - Added
services
option to the netbox inventory to allow users to toggle whether services are included or not (netbox-community#143) - Added
update_vc_child
option to netbox_device_interface to allow child interfaces to be updated if device specified is the master device within the virtual chassis (netbox-community#105) - Remove token from being required for nb_inventory as some NetBox setups don't require authorization for GET functions (netbox-community#177)
- Remove token from being required for nb_lookup as some NetBox setups don't require authorization for GET functions (netbox-community#183)
- Change
ip-addresses
key in netbox inventory plugin toip_addresses
(netbox-community#139)
- Allow integers to be passed in via Jinja string to properly convert back to integer (netbox-community#45)
- Allow services to be created with a different protocol (netbox-community#174)
- Properly find LAG if defined just as a string rather than dictionary with the relevant data (netbox-community#166)
- Removed choices within argument_spec for
mode
innetbox_device_interface
andnetbox_vm_interface
. This allows the API to return any error if an invalid choice is selected formode
(netbox-community#151) - Updated rack width choices for latest NetBox version (netbox-community#167)
- Updated inventory plugin name from netbox.netbox.netbox to netbox.netbox.nb_inventory (netbox-community#129)
- This version has a few breaking changes due to new namespace and collection name. I felt it necessary to change the name of the lookup plugin and inventory plugin just not to have a non descriptive namespace call to use them. Below is an example:
netbox.netbox.netbox
would be used for both inventory plugin and lookup plugin, but in different contexts so no collision will arise, but confusion will. I renamed the lookup plugin tonb_lookup
so it will be used with the FQCNnetbox.netbox.nb_lookup
. The inventory plugin will now be called within an inventory file bynetbox.netbox.nb_inventory
- Update
netbox_tenant
andnetbox_tenant_group
to use slugs for searching (available since NetBox 2.6). Added slug options to netbox_site, netbox_tenant, netbox_tenant_group (netbox-community#120)
- If interface existed already, caused traceback and crashed playbook (netbox-community#114)
- Added fetching services for devices in NetBox Inventory Plugin (netbox-community#58)
- Added option for interfaces and IP addresses of interfaces to be fetched via inventory plugin (netbox-community#60)
- Change lookups to property for subclassing of inventory plugin (netbox-community#62)
- Assigning to parent log now finds LAG interface type dynamically rather than set statically in code (netbox-community#106)
- Create device with empty string to assign the device a UUID (netbox-community#107)
- If query_filters supplied are not allowed for either device or VM lookups, or no valid query filters, it will not attempt to fetch from devices or VMs. This should prevent devices or VMs from being fetched that do not meet the query_filters specified. (netbox-community#63)
- Properly create interface on correct device when in a VC (netbox-community#105)
- Updated _to_slug to follow same constructs NetBox uses (netbox-community#95)
- Add dns_name to netbox_ip_address (netbox-community#84)
- Add region and region_id to query_filter for NetBox Inventory plugin (netbox-community#83)
- Fixed vlan searching with vlan_group for netbox_prefix (netbox-community#85)
- Removed static choices from netbox_utils and now pulls the choices for each endpoint from the NetBox API at call time (netbox-community#67)
- Add argument specs for every module to validate data passed in. Fixes some idempotency issues. POSSIBLE BREAKING CHANGE (netbox-community#68)
- Allow name updates to manufacturers (netbox-community#76)
- 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 (netbox-community#77)
- Fail module with proper exception when connection to NetBox API cannot be established (netbox-community#80)
- netbox_device_interface Lag no longer has to be a dictionary and the value of the key can be the name of the LAG (netbox-community#81)
- 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 (netbox-community#78)
- netbox.netbox.netbox_service - Creates or removes service from NetBox
- Add error handling for invalid key_file for lookup plugin (netbox-community#52)
- Allow endpoint choices to be an integer of the choice rather than attempting to dynamically determine the choice ID (netbox-community#47)
- Fixed issue with netbox_vm_interface where it would fail if different virtual machine had the same interface name (netbox-community#40)
- Updated netbox_ip_address to find interfaces on virtual machines correctly (netbox-community#40)
- Add
primary_ip4/6
tonetbox_ip_address
(netbox-community#10)
- Changed
group
totenant_group
innetbox_tenant.py
(netbox-community#9) - Changed
role
toprefix_role
innetbox_prefix.py
(netbox-community#9) - Module failures when required fields arent provided (netbox-community#24)
- Renamed
netbox_interface
tonetbox_device_interface
(netbox-community#9)
- netbox.netbox.netbox_aggregate - Creates or removes aggregates from NetBox
- netbox.netbox.netbox_circuit - Create, update or delete circuits within NetBox
- netbox.netbox.netbox_circuit_termination - Create, update or delete circuit terminations within NetBox
- netbox.netbox.netbox_circuit_type - Create, update or delete circuit types within NetBox
- netbox.netbox.netbox_cluster - Create, update or delete clusters within NetBox
- netbox.netbox.netbox_cluster_group - Create, update or delete cluster groups within NetBox
- netbox.netbox.netbox_cluster_type - Create, update or delete cluster types within NetBox
- netbox.netbox.netbox_device_bay - Create, update or delete device bays within NetBox
- netbox.netbox.netbox_device_role - Create, update or delete devices roles within NetBox
- netbox.netbox.netbox_device_type - Create, update or delete device types within NetBox
- netbox.netbox.netbox_inventory_item - Creates or removes inventory items from NetBox
- netbox.netbox.netbox_ipam_role - Creates or removes ipam roles from NetBox
- netbox.netbox.netbox_manufacturer - Create or delete manufacturers within NetBox
- netbox.netbox.netbox_platform - Create or delete platforms within NetBox
- netbox.netbox.netbox_provider - Create, update or delete providers within NetBox
- netbox.netbox.netbox_rack - Create, update or delete racks within NetBox
- netbox.netbox.netbox_rack_group - Create, update or delete racks groups within NetBox
- netbox.netbox.netbox_rack_role - Create, update or delete racks roles within NetBox
- netbox.netbox.netbox_region - Creates or removes regions from NetBox
- netbox.netbox.netbox_rir - Create, update or delete RIRs within NetBox
- netbox.netbox.netbox_tenant - Creates or removes tenants from NetBox
- netbox.netbox.netbox_tenant_group - Creates or removes tenant groups from NetBox
- netbox.netbox.netbox_virtual_machine - Create, update or delete virtual_machines within NetBox
- netbox.netbox.netbox_vlan - Create, update or delete vlans within NetBox
- netbox.netbox.netbox_vlan_group - Create, update or delete vlans groups within NetBox
- netbox.netbox.netbox_vm_interface - Creates or removes interfaces from virtual machines in NetBox
- netbox.netbox.netbox_vrf - Create, update or delete vrfs within NetBox