v0.3.0
FragmentedPacket
released this
12 Jul 19:06
·
472 commits
to devel
since this release
v0.3.0
Breaking Changes
-
#270 - 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
-
#269 -
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 ofpynetbox
for the Ansible modules and lookup plugin.
Enhancements
- #251 - Add
virtual_chassis
,vc_position
,vc_priority
tonetbox_device
options - #258 - Add
local_context_data
andflatten_local_context_data
option tonb_inventory
- #258 - Add
local_context_data
option 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_lookup
plugin - #254 - Normalize
mac_address
to upper case - #261 - Fixes typo for
CONVERT_TO_ID
mapping innetbox_utils
fordcim.rearport
- #265 - Fixes typo for
CONVERT_TO_ID
mapping innetbox_utils
fordcim.powerport
anddcim.poweroutlet
- #262 - Build the
rear_port
andrear_port_template
query_params to properly find rear port
New Modules
- #251 -
netbox_cable
- #251 -
netbox_device_bay_template
- #251 -
netbox_virtual_chassis
- #259 -
netbox_interface_template