2020-08-21 11:06:36 -04:00
# NetBox v2.10
2021-04-15 15:20:30 -04:00
## v2.10.10 (2021-04-15)
2021-04-13 11:52:32 -04:00
2021-04-14 10:21:07 -04:00
### Enhancements
2021-04-14 10:44:15 -04:00
* [#5796 ](https://github.com/netbox-community/netbox/issues/5796 ) - Add DC terminal power port, outlet types
2021-04-14 10:40:31 -04:00
* [#5980 ](https://github.com/netbox-community/netbox/issues/5980 ) - Add Saf-D-Grid power port, outlet types
2021-04-14 10:21:07 -04:00
* [#6157 ](https://github.com/netbox-community/netbox/issues/6157 ) - Support Markdown rendering for report logs
2021-04-14 10:38:54 -04:00
* [#6160 ](https://github.com/netbox-community/netbox/issues/6160 ) - Add F connector port type
2021-04-15 13:30:42 -04:00
* [#6168 ](https://github.com/netbox-community/netbox/issues/6168 ) - Add SFP56 50GE interface type
2021-04-14 10:21:07 -04:00
2021-04-13 11:52:32 -04:00
### Bug Fixes
2021-04-13 13:23:25 -04:00
* [#5419 ](https://github.com/netbox-community/netbox/issues/5419 ) - Update parent device/VM when deleting a primary IP
2021-04-15 13:26:19 -04:00
* [#5643 ](https://github.com/netbox-community/netbox/issues/5643 ) - Fix VLAN assignment when editing VM interfaces in bulk
2021-04-15 12:04:34 -04:00
* [#5652 ](https://github.com/netbox-community/netbox/issues/5652 ) - Update object data when renaming a custom field
2021-04-13 13:48:22 -04:00
* [#6056 ](https://github.com/netbox-community/netbox/issues/6056 ) - Optimize change log cleanup
2021-04-13 11:52:32 -04:00
* [#6144 ](https://github.com/netbox-community/netbox/issues/6144 ) - Fix MAC address field display in VM interfaces search form
2021-04-13 12:05:44 -04:00
* [#6152 ](https://github.com/netbox-community/netbox/issues/6152 ) - Fix custom field filtering for cables, virtual chassis
2021-04-14 16:17:19 -04:00
* [#6162 ](https://github.com/netbox-community/netbox/issues/6162 ) - Fix choice field filters (multiple models)
2021-04-13 11:52:32 -04:00
---
2021-04-12 13:10:33 -04:00
## v2.10.9 (2021-04-12)
2021-03-31 13:25:06 -04:00
2021-03-31 15:21:07 -04:00
### Enhancements
2021-03-31 15:27:38 -04:00
* [#5526 ](https://github.com/netbox-community/netbox/issues/5526 ) - Add MAC address search field to VM interfaces list
2021-03-31 15:33:06 -04:00
* [#5756 ](https://github.com/netbox-community/netbox/issues/5756 ) - Omit child devices from non-racked devices list under rack view
2021-03-31 15:49:29 -04:00
* [#5840 ](https://github.com/netbox-community/netbox/issues/5840 ) - Add column to cable termination objects to display cable color
2021-03-31 15:21:07 -04:00
* [#6054 ](https://github.com/netbox-community/netbox/issues/6054 ) - Display NAPALM-enabled device tabs only when relevant
2021-04-09 14:58:40 -04:00
* [#6083 ](https://github.com/netbox-community/netbox/issues/6083 ) - Support disabling TLS certificate validation for Redis
2021-03-31 15:21:07 -04:00
2021-03-31 13:25:06 -04:00
### Bug Fixes
2021-03-31 17:02:21 -04:00
* [#5805 ](https://github.com/netbox-community/netbox/issues/5805 ) - Fix missing custom field filters for cables, rack reservations
2021-04-08 14:22:45 -04:00
* [#6070 ](https://github.com/netbox-community/netbox/issues/6070 ) - Add missing `count_ipaddresses` attribute to VMInterface serializer
2021-03-31 13:25:06 -04:00
* [#6073 ](https://github.com/netbox-community/netbox/issues/6073 ) - Permit users to manage their own REST API tokens without needing explicit permission
2021-04-07 16:04:32 -04:00
* [#6081 ](https://github.com/netbox-community/netbox/issues/6081 ) - Fix interface connections REST API endpoint
2021-04-12 12:09:37 -04:00
* [#6082 ](https://github.com/netbox-community/netbox/issues/6082 ) - Support colons in webhook header values
2021-04-08 13:50:06 -04:00
* [#6108 ](https://github.com/netbox-community/netbox/issues/6108 ) - Do not infer tenant assignment from parent objects for prefixes, IP addresses
2021-04-11 12:57:53 -04:00
* [#6117 ](https://github.com/netbox-community/netbox/issues/6117 ) - Handle exception when attempting to assign an MPTT-enabled model as its own parent
2021-04-09 14:42:07 -04:00
* [#6131 ](https://github.com/netbox-community/netbox/issues/6131 ) - Correct handling of boolean fields when cloning objects
2021-03-31 13:25:06 -04:00
---
2021-03-26 10:04:00 -04:00
## v2.10.8 (2021-03-26)
2021-03-26 09:40:51 -04:00
### Bug Fixes
* [#6060 ](https://github.com/netbox-community/netbox/issues/6060 ) - Fix exception on cable trace in UI (regression from #5650 )
---
2021-03-25 15:15:36 -04:00
## v2.10.7 (2021-03-25)
2021-03-10 17:00:35 -05:00
2021-03-24 14:48:38 -04:00
### Enhancements
* [#5641 ](https://github.com/netbox-community/netbox/issues/5641 ) - Allow filtering device components by label
2021-03-25 11:34:24 -04:00
* [#5723 ](https://github.com/netbox-community/netbox/issues/5723 ) - Allow customization of the geographic mapping service via `MAPS_URL` config parameter
2021-03-25 11:11:11 -04:00
* [#5736 ](https://github.com/netbox-community/netbox/issues/5736 ) - Allow changing site assignment when bulk editing devices
2021-03-25 15:15:36 -04:00
* [#5953 ](https://github.com/netbox-community/netbox/issues/5953 ) - Support Markdown rendering for custom script descriptions
2021-03-24 15:05:19 -04:00
* [#6040 ](https://github.com/netbox-community/netbox/issues/6040 ) - Add UI search fields for asset tag for devices and racks
2021-03-24 14:48:38 -04:00
2021-03-10 17:00:35 -05:00
### Bug Fixes
* [#5595 ](https://github.com/netbox-community/netbox/issues/5595 ) - Restore ability to delete an uploaded device type image
2021-03-25 11:51:02 -04:00
* [#5650 ](https://github.com/netbox-community/netbox/issues/5650 ) - Denote when the total length of a cable trace may exceed the indicated value
2021-03-11 13:42:26 -05:00
* [#5962 ](https://github.com/netbox-community/netbox/issues/5962 ) - Ensure consistent display of change log action labels
2021-03-12 10:59:23 -05:00
* [#5966 ](https://github.com/netbox-community/netbox/issues/5966 ) - Skip Markdown reference link when tabbing through form fields
2021-03-17 15:41:27 -04:00
* [#5977 ](https://github.com/netbox-community/netbox/issues/5977 ) - Correct validation of `RELEASE_CHECK_URL` config parameter
2021-03-19 10:22:30 -04:00
* [#6006 ](https://github.com/netbox-community/netbox/issues/6006 ) - Fix VLAN group/site association for bulk prefix import
2021-03-24 14:25:09 -04:00
* [#6010 ](https://github.com/netbox-community/netbox/issues/6010 ) - Eliminate duplicate virtual chassis search results
2021-03-25 15:04:56 -04:00
* [#6012 ](https://github.com/netbox-community/netbox/issues/6012 ) - Pre-populate attributes when creating an available child prefix via the UI
2021-03-24 14:25:09 -04:00
* [#6023 ](https://github.com/netbox-community/netbox/issues/6023 ) - Fix display of bottom banner with uBlock Origin enabled
2021-03-10 17:00:35 -05:00
---
2021-03-09 16:57:03 -05:00
## v2.10.6 (2021-03-09)
2021-03-01 08:52:13 -06:00
### Enhancements
2021-03-08 15:57:17 -05:00
* [#5592 ](https://github.com/netbox-community/netbox/issues/5592 ) - Add IP addresses count to VRF view
2021-03-01 08:52:13 -06:00
* [#5630 ](https://github.com/netbox-community/netbox/issues/5630 ) - Add QSFP+ (64GFC) FibreChannel Interface option
2021-03-01 16:07:44 -05:00
* [#5884 ](https://github.com/netbox-community/netbox/issues/5884 ) - Enable custom links for device components
2021-03-08 17:16:07 -05:00
* [#5914 ](https://github.com/netbox-community/netbox/issues/5914 ) - Add edit/delete buttons for IP addresses on interface view
* [#5942 ](https://github.com/netbox-community/netbox/issues/5942 ) - Add button to add a new IP address on interface view
2021-03-01 16:07:44 -05:00
### Bug Fixes
* [#5703 ](https://github.com/netbox-community/netbox/issues/5703 ) - Fix VRF and Tenant field population when adding IP addresses from prefix
* [#5819 ](https://github.com/netbox-community/netbox/issues/5819 ) - Enable ordering of virtual machines by primary IP address
2021-03-09 16:57:03 -05:00
* [#5872 ](https://github.com/netbox-community/netbox/issues/5872 ) - Ordering of devices by primary IP should respect `PREFER_IPV4` configuration parameter
2021-03-08 16:51:11 -05:00
* [#5922 ](https://github.com/netbox-community/netbox/issues/5922 ) - Fix options for filtering object permissions in admin UI
2021-03-08 16:27:12 -05:00
* [#5935 ](https://github.com/netbox-community/netbox/issues/5935 ) - Fix filtering prefixes list by multiple prefix values
2021-03-09 16:39:55 -05:00
* [#5948 ](https://github.com/netbox-community/netbox/issues/5948 ) - Invalidate cached queries when running `renaturalize`
2021-03-01 08:52:13 -06:00
2021-03-10 17:00:35 -05:00
---
2021-02-24 15:15:33 -05:00
## v2.10.5 (2021-02-24)
2021-02-02 11:49:38 -05:00
### Bug Fixes
2021-02-12 10:53:40 -06:00
* [#5315 ](https://github.com/netbox-community/netbox/issues/5315 ) - Fix site unassignment from VLAN when using "None" option
2021-02-08 16:44:04 -05:00
* [#5626 ](https://github.com/netbox-community/netbox/issues/5626 ) - Fix REST API representation for circuit terminations connected to non-interface endpoints
2021-02-02 11:49:38 -05:00
* [#5716 ](https://github.com/netbox-community/netbox/issues/5716 ) - Fix filtering rack reservations by custom field
2021-02-04 13:01:55 -05:00
* [#5718 ](https://github.com/netbox-community/netbox/issues/5718 ) - Fix bulk editing of services when no port(s) are defined
2021-02-08 15:09:20 -05:00
* [#5735 ](https://github.com/netbox-community/netbox/issues/5735 ) - Ensure consistent treatment of duplicate IP addresses
2021-02-04 13:19:42 -05:00
* [#5738 ](https://github.com/netbox-community/netbox/issues/5738 ) - Fix redirect to device components view after disconnecting a cable
2021-02-24 15:02:13 -05:00
* [#5753 ](https://github.com/netbox-community/netbox/issues/5753 ) - Fix Redis Sentinel password application for caching
2021-02-24 14:39:09 -05:00
* [#5786 ](https://github.com/netbox-community/netbox/issues/5786 ) - Allow setting null tenant group on tenant via REST API
2021-02-24 14:21:42 -05:00
* [#5841 ](https://github.com/netbox-community/netbox/issues/5841 ) - Disallow the creation of available prefixes/IP addresses in violation of assigned permission constraints
2021-02-02 11:49:38 -05:00
---
2021-01-26 13:06:29 -05:00
## v2.10.4 (2021-01-26)
2021-01-07 11:19:11 -05:00
2021-01-07 11:29:59 -05:00
### Enhancements
2021-01-20 21:29:23 -05:00
* [#5542 ](https://github.com/netbox-community/netbox/issues/5542 ) - Show cable trace lengths in both meters and feet
2021-01-07 11:29:59 -05:00
* [#5570 ](https://github.com/netbox-community/netbox/issues/5570 ) - Add "management only" filter widget for interfaces list
2021-01-19 09:41:49 -05:00
* [#5586 ](https://github.com/netbox-community/netbox/issues/5586 ) - Allow filtering virtual chassis by name and master
* [#5612 ](https://github.com/netbox-community/netbox/issues/5612 ) - Add GG45 and TERA port types, and CAT7a and CAT8 cable types
2021-01-26 10:17:58 -05:00
* [#5678 ](https://github.com/netbox-community/netbox/issues/5678 ) - Show available type choices for all device component import forms
2021-01-07 11:29:59 -05:00
2021-01-07 11:19:11 -05:00
### Bug Fixes
2021-01-26 10:34:07 -06:00
* [#5232 ](https://github.com/netbox-community/netbox/issues/5232 ) - Correct swagger definition for ip_prefixes_available-ips_create API
2021-01-19 10:49:56 -05:00
* [#5574 ](https://github.com/netbox-community/netbox/issues/5574 ) - Restrict the creation of device bay templates on non-parent device types
2021-01-07 11:19:11 -05:00
* [#5584 ](https://github.com/netbox-community/netbox/issues/5584 ) - Restore power utilization panel under device view
2021-01-11 11:28:03 -05:00
* [#5597 ](https://github.com/netbox-community/netbox/issues/5597 ) - Fix ordering devices by primary IP address
2021-01-20 20:48:24 -05:00
* [#5603 ](https://github.com/netbox-community/netbox/issues/5603 ) - Fix display of white cables in trace view
2021-01-19 11:24:34 -05:00
* [#5639 ](https://github.com/netbox-community/netbox/issues/5639 ) - Fix filtering connection lists by device name
2021-01-20 15:18:13 -05:00
* [#5640 ](https://github.com/netbox-community/netbox/issues/5640 ) - Fix permissions assessment when adding VM interfaces in bulk
2021-01-25 14:29:03 -05:00
* [#5648 ](https://github.com/netbox-community/netbox/issues/5648 ) - Include VC member interfaces on interfaces tab count when viewing VC master
2021-01-25 14:19:32 -05:00
* [#5665 ](https://github.com/netbox-community/netbox/issues/5665 ) - Validate rack group is assigned to same site when creating a rack
2021-01-26 09:57:33 -05:00
* [#5683 ](https://github.com/netbox-community/netbox/issues/5683 ) - Correct rack elevation displayed when viewing a reservation
2021-01-07 11:19:11 -05:00
---
2021-01-05 20:33:46 -05:00
## v2.10.3 (2021-01-05)
2020-12-22 10:28:09 -05:00
### Bug Fixes
2021-01-05 08:48:55 -06:00
* [#5049 ](https://github.com/netbox-community/netbox/issues/5049 ) - Add check for LLDP neighbor chassis name to lldp_neighbors
2020-12-23 16:21:26 -05:00
* [#5301 ](https://github.com/netbox-community/netbox/issues/5301 ) - Fix misleading error when racking a device with invalid parameters
2020-12-23 14:26:43 -05:00
* [#5311 ](https://github.com/netbox-community/netbox/issues/5311 ) - Update child objects when a rack group is moved to a new site
2020-12-22 10:28:09 -05:00
* [#5518 ](https://github.com/netbox-community/netbox/issues/5518 ) - Fix persistent vertical scrollbar
2020-12-28 11:10:27 -05:00
* [#5533 ](https://github.com/netbox-community/netbox/issues/5533 ) - Fix bulk editing of objects with required custom fields
2020-12-28 10:48:50 -05:00
* [#5540 ](https://github.com/netbox-community/netbox/issues/5540 ) - Fix exception when viewing a provider with one or more tags assigned
2020-12-28 10:45:23 -05:00
* [#5543 ](https://github.com/netbox-community/netbox/issues/5543 ) - Fix rendering of config contexts with cluster assignment for devices
2020-12-29 11:55:31 -05:00
* [#5546 ](https://github.com/netbox-community/netbox/issues/5546 ) - Add custom field bulk edit support for cables, power panels, rack reservations, and virtual chassis
2020-12-29 12:43:52 -05:00
* [#5547 ](https://github.com/netbox-community/netbox/issues/5547 ) - Add custom field bulk import support for cables, power panels, rack reservations, and virtual chassis
2020-12-31 10:38:47 -05:00
* [#5551 ](https://github.com/netbox-community/netbox/issues/5551 ) - Restore missing import button on services list
2020-12-31 10:32:40 -05:00
* [#5557 ](https://github.com/netbox-community/netbox/issues/5557 ) - Fix VRF route target assignment via REST API
2020-12-31 10:21:01 -05:00
* [#5558 ](https://github.com/netbox-community/netbox/issues/5558 ) - Fix regex validation support for custom URL fields
2021-01-05 09:22:10 -06:00
* [#5563 ](https://github.com/netbox-community/netbox/issues/5563 ) - Fix power feed cable trace link
2021-01-05 09:52:11 -06:00
* [#5564 ](https://github.com/netbox-community/netbox/issues/5564 ) - Raise validation error if a power port template's `allocated_draw` exceeds its `maximum_draw`
2021-01-05 15:15:36 -05:00
* [#5569 ](https://github.com/netbox-community/netbox/issues/5569 ) - Ensure consistent labeling of interface `mgmt_only` field
2021-01-05 15:06:15 -05:00
* [#5573 ](https://github.com/netbox-community/netbox/issues/5573 ) - Report inconsistent values when migrating custom field data
2020-12-22 10:28:09 -05:00
---
2020-12-21 16:03:43 -05:00
## v2.10.2 (2020-12-21)
2020-12-16 09:26:22 -05:00
2020-12-17 15:55:22 -05:00
### Enhancements
* [#5489 ](https://github.com/netbox-community/netbox/issues/5489 ) - Add filters for type and width to racks list
2020-12-18 12:09:41 -05:00
* [#5496 ](https://github.com/netbox-community/netbox/issues/5496 ) - Add form field to filter rack reservation by user
2020-12-17 15:55:22 -05:00
2020-12-16 09:26:22 -05:00
### Bug Fixes
2020-12-18 11:33:28 -06:00
* [#5254 ](https://github.com/netbox-community/netbox/issues/5254 ) - Require plugin authors to set zip_safe=False
2020-12-16 13:48:44 -05:00
* [#5468 ](https://github.com/netbox-community/netbox/issues/5468 ) - Fix unlocking secrets from device/VM view
2020-12-16 09:26:22 -05:00
* [#5473 ](https://github.com/netbox-community/netbox/issues/5473 ) - Fix alignment of rack names in elevations list
2020-12-16 10:38:09 -05:00
* [#5478 ](https://github.com/netbox-community/netbox/issues/5478 ) - Fix display of route target description
2020-12-17 09:46:50 -05:00
* [#5484 ](https://github.com/netbox-community/netbox/issues/5484 ) - Fix "tagged" indication in VLAN members list
2020-12-17 14:03:10 -05:00
* [#5486 ](https://github.com/netbox-community/netbox/issues/5486 ) - Optimize retrieval of config context data for device/VM REST API views
2020-12-17 15:50:47 -05:00
* [#5487 ](https://github.com/netbox-community/netbox/issues/5487 ) - Support filtering rack type/width with multiple values
2020-12-21 15:30:34 -05:00
* [#5488 ](https://github.com/netbox-community/netbox/issues/5488 ) - Fix caching error when viewing cable trace after toggling cable status
2020-12-18 12:18:59 -05:00
* [#5498 ](https://github.com/netbox-community/netbox/issues/5498 ) - Fix filtering rack reservations by username
2020-12-18 15:02:52 -05:00
* [#5499 ](https://github.com/netbox-community/netbox/issues/5499 ) - Fix filtering of displayed device/VM interfaces by regex
2020-12-21 09:43:15 -05:00
* [#5507 ](https://github.com/netbox-community/netbox/issues/5507 ) - Fix custom field data assignment via UI for IP addresses, secrets
2020-12-21 11:47:11 -05:00
* [#5510 ](https://github.com/netbox-community/netbox/issues/5510 ) - Fix filtering by boolean custom fields
2020-12-16 09:26:22 -05:00
---
2020-12-15 22:03:54 -05:00
## v2.10.1 (2020-12-15)
2020-12-14 16:30:10 -06:00
### Bug Fixes
2020-12-15 16:52:58 -05:00
* [#5444 ](https://github.com/netbox-community/netbox/issues/5444 ) - Don't force overwriting of boolean fields when bulk editing interfaces
2020-12-15 12:50:28 -06:00
* [#5450 ](https://github.com/netbox-community/netbox/issues/5450 ) - API serializer foreign count fields do not have a default value
2020-12-15 13:37:02 -05:00
* [#5453 ](https://github.com/netbox-community/netbox/issues/5453 ) - Correct change log representation when creating a cable
2020-12-14 16:30:10 -06:00
* [#5458 ](https://github.com/netbox-community/netbox/issues/5458 ) - Creating a component template throws an exception
2020-12-15 08:39:27 -06:00
* [#5461 ](https://github.com/netbox-community/netbox/issues/5461 ) - Rack Elevations throw reverse match exception
2020-12-15 12:30:42 -06:00
* [#5463 ](https://github.com/netbox-community/netbox/issues/5463 ) - Back-to-back Circuit Termination throws AttributeError exception
2020-12-15 13:52:35 -05:00
* [#5465 ](https://github.com/netbox-community/netbox/issues/5465 ) - Correct return URL when disconnecting a cable from a device
2020-12-15 15:56:42 -05:00
* [#5466 ](https://github.com/netbox-community/netbox/issues/5466 ) - Fix validation for required custom fields
2020-12-15 21:04:47 -05:00
* [#5470 ](https://github.com/netbox-community/netbox/issues/5470 ) - Fix exception when making `OPTIONS` request for a REST API list endpoint
2020-12-14 16:30:10 -06:00
2020-12-15 13:37:02 -05:00
---
2020-12-14 14:27:14 -05:00
## v2.10.0 (2020-12-14)
2020-08-21 11:06:36 -04:00
2020-08-21 11:57:46 -04:00
**NOTE:** This release completely removes support for embedded graphs.
2020-11-12 10:17:19 -05:00
**NOTE:** The Django templating language (DTL) is no longer supported for export templates. Ensure that all export templates use Jinja2 before upgrading.
2020-09-17 14:22:14 -04:00
### New Features
2020-09-24 14:18:08 -04:00
#### Route Targets ([#259](https://github.com/netbox-community/netbox/issues/259))
2020-11-17 14:11:47 -05:00
This release introduces support for modeling L3VPN route targets, which can be used to control the redistribution of advertised prefixes among VRFs. Each VRF may be assigned one or more route targets in the import and/or export direction. Like VRFs, route targets may be assigned to tenants and support tag assignment.
2020-09-24 14:18:08 -04:00
2020-09-22 10:36:16 -04:00
#### REST API Bulk Deletion ([#3436](https://github.com/netbox-community/netbox/issues/3436))
The REST API now supports the bulk deletion of objects of the same type in a single request. Send a `DELETE` HTTP request to the list to the model's list endpoint (e.g. `/api/dcim/sites/` ) with a list of JSON objects specifying the numeric ID of each object to be deleted. For example, to delete sites with IDs 10, 11, and 12, issue the following request:
```no-highlight
curl -s -X DELETE \
-H "Authorization: Token $TOKEN" \
-H "Content-Type: application/json" \
http://netbox/api/dcim/sites/ \
--data '[{"id": 10}, {"id": 11}, {"id": 12}]'
```
2020-09-22 14:49:49 -04:00
#### REST API Bulk Update ([#4882](https://github.com/netbox-community/netbox/issues/4882))
Similar to bulk deletion, the REST API also now supports bulk updates. Send a `PUT` or `PATCH` HTTP request to the list to the model's list endpoint (e.g. `/api/dcim/sites/` ) with a list of JSON objects specifying the numeric ID of each object and the attribute(s) to be updated. For example, to set a description for sites with IDs 10 and 11, issue the following request:
```no-highlight
curl -s -X PATCH \
-H "Authorization: Token $TOKEN" \
-H "Content-Type: application/json" \
http://netbox/api/dcim/sites/ \
--data '[{"id": 10, "description": "Foo"}, {"id": 11, "description": "Bar"}]'
```
2020-11-17 14:11:47 -05:00
#### Reimplementation of Custom Fields ([#4878](https://github.com/netbox-community/netbox/issues/4878))
NetBox v2.10 introduces a completely overhauled approach to custom fields. Whereas previous versions used CustomFieldValue instances to store values, custom field data is now stored directly on each model instance as JSON data and may be accessed using the `cf` property:
```python
>>> site = Site.objects.first()
>>> site.cf
{'site_code': 'US-RAL01'}
>>> site.cf['foo'] = 'ABC'
>>> site.full_clean()
>>> site.save()
>>> site = Site.objects.first()
>>> site.cf
{'foo': 'ABC', 'site_code': 'US-RAL01'}
```
Additionally, custom selection field choices are now defined on the CustomField model within the admin UI, which greatly simplifies working with choice values.
2020-10-05 11:07:03 -04:00
#### Improved Cable Trace Performance ([#4900](https://github.com/netbox-community/netbox/issues/4900))
2020-11-17 14:11:47 -05:00
All end-to-end cable paths are now cached using the new CablePath backend model. This allows NetBox to now immediately return the complete path originating from any endpoint directly from the database, rather than having to trace each cable recursively. It also resolves some systemic validation issues present in the original implementation.
2020-10-05 11:07:03 -04:00
**Note:** As part of this change, cable traces will no longer traverse circuits: A circuit termination will be considered the origin or destination of an end-to-end path.
2020-09-22 10:36:16 -04:00
### Enhancements
2020-10-15 15:06:01 -04:00
* [#609 ](https://github.com/netbox-community/netbox/issues/609 ) - Add min/max value and regex validation for custom fields
2020-09-21 11:12:17 -04:00
* [#1503 ](https://github.com/netbox-community/netbox/issues/1503 ) - Allow assigment of secrets to virtual machines
2020-09-18 11:05:31 -04:00
* [#1692 ](https://github.com/netbox-community/netbox/issues/1692 ) - Allow assigment of inventory items to parent items in web UI
2020-11-17 14:11:47 -05:00
* [#2179 ](https://github.com/netbox-community/netbox/issues/2179 ) - Support the use of multiple port numbers when defining a service
2020-09-22 16:06:38 -04:00
* [#4897 ](https://github.com/netbox-community/netbox/issues/4897 ) - Allow filtering by content type identified as `<app>.<model>` string
2020-10-13 16:57:45 -04:00
* [#4918 ](https://github.com/netbox-community/netbox/issues/4918 ) - Add a REST API endpoint (`/api/status/` ) which returns NetBox's current operational status
2020-09-18 11:35:15 -04:00
* [#4956 ](https://github.com/netbox-community/netbox/issues/4956 ) - Include inventory items on primary device view
2020-11-17 14:11:47 -05:00
* [#4967 ](https://github.com/netbox-community/netbox/issues/4967 ) - Support tenant assignment for aggregates
2020-09-18 13:03:38 -04:00
* [#5003 ](https://github.com/netbox-community/netbox/issues/5003 ) - CSV import now accepts slug values for choice fields
2020-11-17 14:11:47 -05:00
* [#5146 ](https://github.com/netbox-community/netbox/issues/5146 ) - Add custom field support for cables, power panels, rack reservations, and virtual chassis
* [#5154 ](https://github.com/netbox-community/netbox/issues/5154 ) - The web interface now consumes the entire browser window
* [#5190 ](https://github.com/netbox-community/netbox/issues/5190 ) - Add a REST API endpoint for retrieving content types (`/api/extras/content-types/` )
2020-12-14 14:27:14 -05:00
* [#5274 ](https://github.com/netbox-community/netbox/issues/5274 ) - Add REST API support for custom fields
* [#5399 ](https://github.com/netbox-community/netbox/issues/5399 ) - Show options for cable endpoint types during bulk import
* [#5411 ](https://github.com/netbox-community/netbox/issues/5411 ) - Include cable tags in trace view
2020-09-17 14:22:14 -04:00
2020-08-21 11:06:36 -04:00
### Other Changes
2020-09-18 10:18:03 -04:00
* [#1846 ](https://github.com/netbox-community/netbox/issues/1846 ) - Enable MPTT for InventoryItem hierarchy
2020-11-30 13:06:01 -05:00
* [#2755 ](https://github.com/netbox-community/netbox/issues/2755 ) - Switched from Font Awesome/Glyphicons to Material Design icons
2020-08-21 11:57:46 -04:00
* [#4349 ](https://github.com/netbox-community/netbox/issues/4349 ) - Dropped support for embedded graphs
2020-11-17 14:11:47 -05:00
* [#4360 ](https://github.com/netbox-community/netbox/issues/4360 ) - Dropped support for the Django template language from export templates
2020-12-14 14:27:14 -05:00
* [#4711 ](https://github.com/netbox-community/netbox/issues/4711 ) - Renamed Webhook `obj_type` to `content_types`
2020-08-21 11:06:36 -04:00
* [#4941 ](https://github.com/netbox-community/netbox/issues/4941 ) - `commit` argument is now required argument in a custom script's `run()` method
2020-10-15 15:37:34 -04:00
* [#5011 ](https://github.com/netbox-community/netbox/issues/5011 ) - Standardized name field lengths across all models
2020-10-20 13:16:35 -04:00
* [#5139 ](https://github.com/netbox-community/netbox/issues/5139 ) - Omit utilization statistics from RIR list
2020-10-09 14:06:24 -04:00
* [#5225 ](https://github.com/netbox-community/netbox/issues/5225 ) - Circuit termination port speed is now an optional field
2020-08-21 11:16:30 -04:00
### REST API Changes
2020-10-06 14:30:46 -04:00
* Added support for `PUT` , `PATCH` , and `DELETE` operations on list endpoints (bulk update and delete)
2020-10-13 16:57:45 -04:00
* Added the `/extras/content-types/` endpoint for Django ContentTypes
2020-11-23 16:27:14 -05:00
* Added the `/extras/custom-fields/` endpoint for custom fields
* Removed the `/extras/_custom_field_choices/` endpoint (replaced by new custom fields endpoint)
2020-10-13 16:57:45 -04:00
* Added the `/status/` endpoint to convey NetBox's current status
2020-10-06 14:30:46 -04:00
* circuits.CircuitTermination:
2021-04-16 09:32:37 -04:00
* Added the `/trace/` endpoint
* Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
* Added `cable_peer` and `cable_peer_type`
* `port_speed` may now be null
2020-09-18 11:51:38 -04:00
* dcim.Cable: Added `custom_fields`
2020-10-06 14:30:46 -04:00
* dcim.ConsolePort:
2021-04-16 09:32:37 -04:00
* Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
* Added `cable_peer` and `cable_peer_type`
* Removed `connection_status` from nested serializer
2020-10-06 14:30:46 -04:00
* dcim.ConsoleServerPort:
2021-04-16 09:32:37 -04:00
* Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
* Added `cable_peer` and `cable_peer_type`
* Removed `connection_status` from nested serializer
2020-10-06 16:58:11 -04:00
* dcim.FrontPort:
2021-04-16 09:32:37 -04:00
* Replaced the `/trace/` endpoint with `/paths/` , which returns a list of cable paths
* Added `cable_peer` and `cable_peer_type`
2020-10-06 14:30:46 -04:00
* dcim.Interface:
2021-04-16 09:32:37 -04:00
* Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
* Added `cable_peer` and `cable_peer_type`
* Removed `connection_status` from nested serializer
2020-09-18 11:51:38 -04:00
* dcim.InventoryItem: The `_depth` field has been added to reflect MPTT positioning
2020-10-08 13:55:29 -04:00
* dcim.PowerFeed:
2021-04-16 09:32:37 -04:00
* Added the `/trace/` endpoint
* Added fields `connected_endpoint` , `connected_endpoint_type` , `connected_endpoint_reachable` , `cable_peer` , and `cable_peer_type`
2020-10-06 14:30:46 -04:00
* dcim.PowerOutlet:
2021-04-16 09:32:37 -04:00
* Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
* Added `cable_peer` and `cable_peer_type`
* Removed `connection_status` from nested serializer
2020-09-18 11:51:38 -04:00
* dcim.PowerPanel: Added `custom_fields`
2020-10-06 14:30:46 -04:00
* dcim.PowerPort
2021-04-16 09:32:37 -04:00
* Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
* Added `cable_peer` and `cable_peer_type`
* Removed `connection_status` from nested serializer
2020-09-18 11:51:38 -04:00
* dcim.RackReservation: Added `custom_fields`
2020-10-06 16:58:11 -04:00
* dcim.RearPort:
2021-04-16 09:32:37 -04:00
* Replaced the `/trace/` endpoint with `/paths/` , which returns a list of cable paths
* Added `cable_peer` and `cable_peer_type`
2020-09-18 11:51:38 -04:00
* dcim.VirtualChassis: Added `custom_fields`
2020-08-21 11:16:30 -04:00
* extras.ExportTemplate: The `template_language` field has been removed
2020-09-18 11:51:38 -04:00
* extras.Graph: This API endpoint has been removed (see #4349 )
2020-09-22 16:06:38 -04:00
* extras.ImageAttachment: Filtering by `content_type` now takes a string in the form `<app>.<model>`
* extras.ObjectChange: Filtering by `changed_object_type` now takes a string in the form `<app>.<model>`
2020-10-16 10:04:33 -04:00
* ipam.Aggregate: Added `tenant` field
2020-09-24 14:45:14 -04:00
* ipam.RouteTarget: New endpoint
2020-09-21 14:49:39 -04:00
* ipam.Service: Renamed `port` to `ports` ; now holds a list of one or more port numbers
2020-09-24 14:45:14 -04:00
* ipam.VRF: Added `import_targets` and `export_targets` fields
2020-09-21 11:12:17 -04:00
* secrets.Secret: Removed `device` field; replaced with `assigned_object` generic foreign key. This may represent either a device or a virtual machine. Assign an object by setting `assigned_object_type` and `assigned_object_id` .