3.5.0 (July 20th, 2023)
BREAKING CHANGES
Historically, this provider primarily handled virtual machines, so when linking a netbox_ip_address
resource to an interface, the interface was initially assumed to always be a virtual machine interface. In v3.1.0, support was added for device interfaces by setting the newly introduced object_type
attribute, once again defaulting to virtual machine interfaces. The valid values for object_type
directly reflect the API values of NetBox, which are very unintuitive.
In this version, we make the type of connection between IP addresses and interfaces explicit: We introduce two new attributes: virtual_machine_interface_id
and device_interface_id
to the netbox_ip_address
resource. These fields are easier to use and convey their meaning directly to the user. The object_type
and interface_id
method is still supported, but object_type
no longer has a default value and is now mandatory when interface_id
is used.
Migration guide
In your existing codebase:
- replace
interface_id
withvirtual_machine_interface_id
ifobject_type
is currently unset or set tovirtualization.vminterface
- replace
interface_id
withdevice_interface_id
ifobject_type
is currently set todcim.interface
ENHANCEMENTS
- resource/netbox_ip_address: Add
virtual_machine_interface_id
anddevice_interface_id
attributes - resource/netbox_ip_address: Add
slaac
to the list of valid statuses - resource/netbox_ip_address: Add
nat_inside_address_id
andnat_outside_addresses
attributes
BUG FIXES