occupied filter for cabled objects to filter by cable or mark_connectedhas_front_image and has_rear_image filters for device typesempty lookup expression for string filtersNoReverseMatch exception when listing available prefixes with "flat" column displayedui_visibility field of CustomField for CSV importlimit query parameter to available VLANs API endpointnext URL query parameterCSRF_COOKIE_NAME valueapplication/json content type for REST API requestslinkify template filter should escape object representation1.0 or 1.5) to support modeling half-height rack units.nat_outside relation on the IP address model now returns a list of zero or more related IP addresses, rather than a single instance (or None).| Old Name | Old Type | New Name | New Type |
|---|---|---|---|
termination_a_type |
string | Removed | - |
termination_b_type |
string | Removed | - |
termination_a_id |
integer | Removed | - |
termination_b_id |
integer | Removed | - |
termination_a |
object | a_terminations |
list |
termination_b |
object | b_terminations |
list |
| Old Name | Old Type | New Name | New Type |
|---|---|---|---|
link_peer |
object | link_peers |
list |
link_peer_type |
string | link_peers_type |
string |
connected_endpoint |
object | connected_endpoints |
list |
connected_endpoint_type |
string | connected_endpoints_type |
string |
connected_endpoint_reachable |
boolean | connected_endpoints_reachable |
boolean |
/paths/ endpoint for pass-through ports has been simplified, and the following fields removed: origin_type, origin, destination_type, destination. (Additionally, is_complete has been added.)When creating a cable in NetBox, each end can now be attached to multiple termination points. This allows accurate modeling of duplex fiber connections to individual termination ports and breakout cables, for example. (Note that all terminations attached to one end of a cable must be the same object type, but do not need to connect to the same parent object.) Additionally, cable terminations can now be modified without needing to delete and recreate the cable.
NetBox can now model a variety of L2 VPN technologies, including VXLAN, VPLS, and others. Interfaces and VLANs can be attached to L2VPNs to track connectivity across an overlay. Similarly to VRFs, each L2VPN can also have import and export route targets associated with it.
Two new fields have been added to the device interface model to track Power over Ethernet (PoE) capabilities:
Device type height can now be specified in 0.5U increments, allowing for the creation of devices consume partial rack units. Additionally, a device can be installed at the half-unit mark within a rack (e.g. U2.5). For example, two half-height devices positioned in sequence will consume a single rack unit; two consecutive 1.5U devices will consume 3U of space.
API tokens can now be restricted to use by certain client IP addresses or networks. For example, an API token with its allowed_ips list set to [192.0.2.0/24] will permit authentication only from API clients within that network; requests from other sources will fail authentication. This enables administrators to restrict the use of a token to specific clients.
NetBox's permission constraints have been expanded to support referencing the current user associated with a request using the special $user token. As an example, this enables an administrator to efficiently grant each user to edit his or her own journal entries, but not those created by other users.
{
"created_by": "$user"
}
A group_name field has been added to the custom field model to enable organizing related custom fields by group. Similarly to custom links, custom fields which have been assigned to the same group will be rendered within that group when viewing an object in the UI. (Custom field grouping has no effect on API operation.)
The behavior of each custom field within the NetBox UI can now be controlled individually by toggling its UI visibility. Three options are available:
Custom field UI visibility has no impact on API operation.
termination_date field to Circuitstatus field to Locationstatus field to ClusterAbortRequest exception for cleanly interrupting object mutationsObjectChildrenView generic viewChangeLoggingMixin can override serialize_object() to control JSON serialization for change loggingclone() method to NetBoxModel for copying instance attributescustomfield_value template tagNetBoxTable no longer automatically clears pre-existing calls to prefetch_related() on its querysetdjango-rich test runner for more user-friendly output?ordering={fieldname} to the query. Multiple fields can be specified by separating the field names with a comma, e.g. ?ordering=site,name. To invert the ordering, prepend a hyphen to the field name, e.g. ?ordering=-name./api/dcim/cable-terminations//api/ipam/l2vpns//api/ipam/l2vpn-terminations/termination_date fieldlink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachablecustom_fields and tags fieldstermination_a_type has been renamed to a_terminations_typetermination_b_type has been renamed to b_terminations_typetermination_a renamed to a_terminations and now returns a list of objectstermination_b renamed to b_terminations and now returns a list of objectstermination_a_id has been removedtermination_b_id has been removedlink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachablelink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachableposition field has been changed from an integer to a decimalu_height field has been changed from an integer to a decimallink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachablelink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachablepoe_mode and poe_type fieldsl2vpn_termination read-only fieldpoe_mode and poe_type fieldsstatus field (default value: active)link_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachablelink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachablelink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachableelevation endpoint now includes half-height rack units, and utilizes decimal values for the ID and name of each unitlink_peer has been renamed to link_peers and now returns a list of objectslink_peer_type has been renamed to link_peers_typeconnected_endpoint has been renamed to connected_endpoints and now returns a list of objectsconnected_endpoint_type has been renamed to connected_endpoints_typeconnected_endpoint_reachable has been renamed to connected_endpoints_reachablelocations many-to-many field to track the assignment of ConfigContexts to Locationsgroup_name and ui_visibility fieldsnat_inside field no longer requires a unique valuenat_outside field has changed from a single IP address instance to a list of multiple IP addressesl2vpn_termination read-only fieldallowed_ips array fieldlast_used datetime fieldstatus field (default value: active)site field is now directly writable (rather than being inferred from the assigned cluster)cluster field is now optional. A virtual machine must have a site and/or cluster assigned.device fieldl2vpn_termination read-only field
wireless.WirelessLANtenant field
wireless.WirelessLinktenant field