v0.3.0
·
541 commits
to devel
since this release
v0.3.0
Breaking Changes
-
#270 - To pass in integers via Ansible Jinja filters for a key in
datathat requires querying an endpoint is now done by making it a dictionary with anidkey.
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
-
#269 -
pynetboxchanged to usingrequests.Session()to manage the HTTP session which broke passing inssl_verifywhen building the NetBox API client.
This PR makespynetbox 5.0.4+the new required version ofpynetboxfor the Ansible modules and lookup plugin.
Enhancements
- #251 - Add
virtual_chassis,vc_position,vc_prioritytonetbox_deviceoptions - #258 - Add
local_context_dataandflatten_local_context_dataoption tonb_inventory - #258 - Add
local_context_dataoption tonetbox_device
Bugfix
- #242 - Compares tags as a set to prevent issues with order difference between user supplied tags and NetBox API
- #243 - Normalize descriptions to remove any extra whitespace
- #246 - Allows OR operations in API fitlers for
nb_lookupplugin - #254 - Normalize
mac_addressto upper case - #261 - Fixes typo for
CONVERT_TO_IDmapping innetbox_utilsfordcim.rearport - #265 - Fixes typo for
CONVERT_TO_IDmapping innetbox_utilsfordcim.powerportanddcim.poweroutlet - #262 - Build the
rear_portandrear_port_templatequery_params to properly find rear port
New Modules
- #251 -
netbox_cable - #251 -
netbox_device_bay_template - #251 -
netbox_virtual_chassis - #259 -
netbox_interface_template