2021-02-26 16:12:52 -05:00
# NetBox v2.11
2021-07-30 10:28:56 -04:00
## v2.11.11 (FUTURE)
2021-08-04 13:26:53 -04:00
### Enhancements
* [#6883 ](https://github.com/netbox-community/netbox/issues/6883 ) - Add C21 & C22 power types
2021-07-30 10:28:56 -04:00
### Bug Fixes
* [#6740 ](https://github.com/netbox-community/netbox/issues/6740 ) - Add import button to VM interfaces list
2021-08-05 11:12:08 -04:00
* [#6892 ](https://github.com/netbox-community/netbox/issues/6892 ) - Fix validation of unit ranges when creating a rack reservation
2021-08-06 09:55:47 -04:00
* [#6902 ](https://github.com/netbox-community/netbox/issues/6902 ) - Populate device field when cloning device components
2021-08-09 09:17:08 -04:00
* [#6909 ](https://github.com/netbox-community/netbox/issues/6909 ) - Remove extraneous `site` column from VLAN group import form
2021-08-09 09:20:22 -04:00
* [#6910 ](https://github.com/netbox-community/netbox/issues/6910 ) - Fix exception on invalid CSV import column name
2021-07-30 10:28:56 -04:00
---
2021-07-28 15:17:45 -04:00
## v2.11.10 (2021-07-28)
2021-07-12 09:31:19 -04:00
2021-07-27 16:17:59 -04:00
### Enhancements
2021-07-28 11:44:13 -04:00
* [#6560 ](https://github.com/netbox-community/netbox/issues/6560 ) - Enable CSV import via uploaded file
2021-07-28 11:54:25 -04:00
* [#6644 ](https://github.com/netbox-community/netbox/issues/6644 ) - Add 6P/4P pass-through port types
2021-07-28 11:44:13 -04:00
* [#6771 ](https://github.com/netbox-community/netbox/issues/6771 ) - Add count of inventory items to manufacturer view
2021-07-27 16:17:59 -04:00
* [#6785 ](https://github.com/netbox-community/netbox/issues/6785 ) - Add "hardwired" type for power port types
2021-07-12 09:31:19 -04:00
### Bug Fixes
* [#5442 ](https://github.com/netbox-community/netbox/issues/5442 ) - Fix assignment of permissions based on LDAP groups
2021-07-27 16:21:56 -04:00
* [#5627 ](https://github.com/netbox-community/netbox/issues/5627 ) - Fix filtering of interface connections list
2021-07-23 11:24:32 -04:00
* [#6759 ](https://github.com/netbox-community/netbox/issues/6759 ) - Fix assignment of parent interfaces for bulk import
2021-07-20 17:00:13 -04:00
* [#6773 ](https://github.com/netbox-community/netbox/issues/6773 ) - Add missing `display` field to rack unit serializer
2021-07-23 11:13:21 -04:00
* [#6774 ](https://github.com/netbox-community/netbox/issues/6774 ) - Fix A/Z assignment when swapping circuit terminations
2021-07-21 16:02:32 -04:00
* [#6777 ](https://github.com/netbox-community/netbox/issues/6777 ) - Fix default value validation for custom text fields
2021-07-21 15:44:14 -04:00
* [#6778 ](https://github.com/netbox-community/netbox/issues/6778 ) - Rack reservation should display rack's location
2021-07-21 15:49:01 -04:00
* [#6780 ](https://github.com/netbox-community/netbox/issues/6780 ) - Include rack location in navigation breadcrumbs
2021-07-23 11:18:50 -04:00
* [#6794 ](https://github.com/netbox-community/netbox/issues/6794 ) - Fix device name display on device status view
2021-07-28 09:55:40 -04:00
* [#6812 ](https://github.com/netbox-community/netbox/issues/6812 ) - Limit reported prefix utilization to 100%
2021-07-27 16:04:51 -04:00
* [#6822 ](https://github.com/netbox-community/netbox/issues/6822 ) - Use consistent maximum value for interface MTU
2021-07-12 09:31:19 -04:00
2021-07-23 11:34:24 -04:00
### Other Changes
* [#6781 ](https://github.com/netbox-community/netbox/issues/6781 ) - Database query caching is now disabled by default
2021-07-12 09:31:19 -04:00
---
2021-07-08 09:01:40 -04:00
## v2.11.9 (2021-07-08)
2021-07-07 11:55:20 -04:00
### Bug Fixes
2021-07-08 08:41:59 -04:00
* [#6456 ](https://github.com/netbox-community/netbox/issues/6456 ) - API schema type should be boolean for `_occupied` on cable termination models
2021-07-07 11:55:20 -04:00
* [#6710 ](https://github.com/netbox-community/netbox/issues/6710 ) - Fix assignment of VM interface parent via REST API
2021-07-07 15:38:59 -04:00
* [#6714 ](https://github.com/netbox-community/netbox/issues/6714 ) - Fix rendering of device type component creation forms
2021-07-07 11:55:20 -04:00
---
2021-07-06 11:10:02 -04:00
## v2.11.8 (2021-07-06)
2021-06-21 08:38:46 -04:00
2021-06-22 14:21:41 -04:00
### Enhancements
2021-07-06 10:43:08 -04:00
* [#5503 ](https://github.com/netbox-community/netbox/issues/5503 ) - Annotate short date & time fields with their longer form
2021-07-01 15:17:46 -04:00
* [#6138 ](https://github.com/netbox-community/netbox/issues/6138 ) - Add an `empty` filter modifier for character fields
2021-07-06 10:17:16 -04:00
* [#6200 ](https://github.com/netbox-community/netbox/issues/6200 ) - Add rack reservations to global search
2021-07-01 15:49:05 -04:00
* [#6368 ](https://github.com/netbox-community/netbox/issues/6368 ) - Enable virtual chassis assignment during bulk import of devices
2021-06-22 14:21:41 -04:00
* [#6620 ](https://github.com/netbox-community/netbox/issues/6620 ) - Show assigned VMs count under device role view
2021-06-29 13:47:44 -04:00
* [#6666 ](https://github.com/netbox-community/netbox/issues/6666 ) - Show management-only status under interface detail view
2021-06-29 14:00:16 -04:00
* [#6667 ](https://github.com/netbox-community/netbox/issues/6667 ) - Display VM memory as GB/TB as appropriate
2021-06-22 14:21:41 -04:00
2021-06-21 08:38:46 -04:00
### Bug Fixes
* [#6626 ](https://github.com/netbox-community/netbox/issues/6626 ) - Fix site field on VM search form; add site group
2021-06-22 14:16:16 -04:00
* [#6637 ](https://github.com/netbox-community/netbox/issues/6637 ) - Fix group assignment in "available VLANs" link under VLAN group view
2021-06-22 14:00:54 -04:00
* [#6640 ](https://github.com/netbox-community/netbox/issues/6640 ) - Disallow numeric values in custom text fields
2021-06-22 13:54:03 -04:00
* [#6652 ](https://github.com/netbox-community/netbox/issues/6652 ) - Fix exception when adding components in bulk to multiple devices
2021-06-29 13:44:46 -04:00
* [#6676 ](https://github.com/netbox-community/netbox/issues/6676 ) - Fix device/VM counts per cluster under cluster type/group views
2021-07-05 09:30:52 -04:00
* [#6680 ](https://github.com/netbox-community/netbox/issues/6680 ) - Allow setting custom field values for VM interfaces on initial creation
* [#6695 ](https://github.com/netbox-community/netbox/issues/6695 ) - Fix exception when importing device type with invalid front port definition
2021-06-21 08:38:46 -04:00
---
2021-06-16 15:59:46 -04:00
## v2.11.7 (2021-06-16)
2021-06-08 14:06:17 -04:00
2021-06-08 15:39:39 -04:00
### Enhancements
* [#6455 ](https://github.com/netbox-community/netbox/issues/6455 ) - Permit /32 IPv4 and /128 IPv6 prefixes
* [#6493 ](https://github.com/netbox-community/netbox/issues/6493 ) - Show change log diff for non-atomic (pre-2.11) changes
2021-06-16 13:43:38 -04:00
* [#6564 ](https://github.com/netbox-community/netbox/issues/6564 ) - Add N connector type for pass-through ports
2021-06-16 14:01:30 -04:00
* [#6588 ](https://github.com/netbox-community/netbox/issues/6588 ) - Add support for webp files as front/rear device type images
2021-06-16 13:50:35 -04:00
* [#6589 ](https://github.com/netbox-community/netbox/issues/6589 ) - Standardize breadcrumb navigation for power panels and feeds
2021-06-08 15:39:39 -04:00
2021-06-08 14:06:17 -04:00
### Bug Fixes
* [#6553 ](https://github.com/netbox-community/netbox/issues/6553 ) - ProviderNetwork search should match on name
2021-06-08 14:18:24 -04:00
* [#6562 ](https://github.com/netbox-community/netbox/issues/6562 ) - Disable ordering of secrets by assigned object
2021-06-08 14:15:06 -04:00
* [#6563 ](https://github.com/netbox-community/netbox/issues/6563 ) - Fix filtering by location for cable connection forms
2021-06-10 14:27:42 -04:00
* [#6584 ](https://github.com/netbox-community/netbox/issues/6584 ) - Fix ordering of nested inventory items
2021-06-14 16:38:19 -04:00
* [#6602 ](https://github.com/netbox-community/netbox/issues/6602 ) - Fix deletion of devices with cables attached
2021-06-08 14:06:17 -04:00
---
2021-06-04 10:59:36 -04:00
## v2.11.6 (2021-06-04)
2021-06-04 10:53:13 -04:00
### Bug Fixes
* [#6544 ](https://github.com/netbox-community/netbox/issues/6544 ) - Fix migration error when upgrading with VRF(s) defined
---
2021-06-04 09:09:56 -04:00
## v2.11.5 (2021-06-04)
**NOTE:** This release includes a database migration that calculates and annotates prefix depth. It may impose a noticeable delay on the upgrade process: Users should anticipate roughly one minute of delay per 100 thousand prefixes being updated.
2021-05-28 08:56:55 -04:00
### Enhancements
* [#6087 ](https://github.com/netbox-community/netbox/issues/6087 ) - Improved prefix hierarchy rendering
2021-05-28 09:09:59 -04:00
* [#6487 ](https://github.com/netbox-community/netbox/issues/6487 ) - Add location filter to cable connection form
2021-05-28 08:56:55 -04:00
* [#6501 ](https://github.com/netbox-community/netbox/issues/6501 ) - Expose prefix depth and children on REST API serializer
2021-06-03 17:20:24 -04:00
* [#6527 ](https://github.com/netbox-community/netbox/issues/6527 ) - Support Markdown for report descriptions
2021-06-03 20:31:09 -04:00
* [#6540 ](https://github.com/netbox-community/netbox/issues/6540 ) - Add a "flat" column to the prefix table
2021-05-28 08:56:55 -04:00
2021-05-28 13:16:25 -04:00
### Bug Fixes
2021-05-28 13:27:05 -04:00
* [#6064 ](https://github.com/netbox-community/netbox/issues/6064 ) - Fix object permission assignments for user and group models
2021-06-02 16:12:11 -04:00
* [#6217 ](https://github.com/netbox-community/netbox/issues/6217 ) - Disallow passing of string values for integer custom fields
2021-06-01 12:57:31 -04:00
* [#6284 ](https://github.com/netbox-community/netbox/issues/6284 ) - Avoid sending redundant webhooks when adding/removing tags
2021-06-02 17:02:44 -04:00
* [#6492 ](https://github.com/netbox-community/netbox/issues/6492 ) - Correct tag population in post-change data resulting from REST API changes
2021-05-28 13:18:50 -04:00
* [#6496 ](https://github.com/netbox-community/netbox/issues/6496 ) - Fix upgrade script when Python installed in nonstandard path
2021-05-28 13:16:25 -04:00
* [#6502 ](https://github.com/netbox-community/netbox/issues/6502 ) - Correct permissions evaluation for running a report via the REST API
2021-06-02 15:58:14 -04:00
* [#6517 ](https://github.com/netbox-community/netbox/issues/6517 ) - Fix assignment of user when creating rack reservations via REST API
2021-06-02 15:48:15 -04:00
* [#6525 ](https://github.com/netbox-community/netbox/issues/6525 ) - Paginate related IPs table under IP address view
2021-05-28 13:16:25 -04:00
2021-05-28 08:56:55 -04:00
---
2021-05-25 11:38:43 -04:00
## v2.11.4 (2021-05-25)
2021-05-12 13:38:52 -04:00
### Enhancements
2021-05-21 17:25:37 -04:00
* [#5121 ](https://github.com/netbox-community/netbox/issues/5121 ) - Add content type filters for tags
2021-05-25 11:16:06 -04:00
* [#6358 ](https://github.com/netbox-community/netbox/issues/6358 ) - Add search field for VLAN groups
2021-05-12 13:38:52 -04:00
* [#6393 ](https://github.com/netbox-community/netbox/issues/6393 ) - Add `description` filter for IP addresses
2021-05-14 09:13:36 -04:00
* [#6400 ](https://github.com/netbox-community/netbox/issues/6400 ) - Add cyan color choice for plugin buttons
2021-05-25 11:26:18 -04:00
* [#6422 ](https://github.com/netbox-community/netbox/issues/6422 ) - Enable filtering users by group under admin UI
2021-05-20 12:00:31 -04:00
* [#6441 ](https://github.com/netbox-community/netbox/issues/6441 ) - Improve UI paginator to optimize page object count
2021-05-12 13:38:52 -04:00
2021-05-12 13:47:42 -04:00
### Bug Fixes
* [#6376 ](https://github.com/netbox-community/netbox/issues/6376 ) - Fix assignment of VLAN groups to clusters, cluster groups via REST API
2021-05-14 09:06:00 -04:00
* [#6398 ](https://github.com/netbox-community/netbox/issues/6398 ) - Avoid exception when deleting device connected to self via circuit
2021-05-18 16:42:21 -04:00
* [#6426 ](https://github.com/netbox-community/netbox/issues/6426 ) - Allow assigning virtual chassis member interfaces to LAG on VC master
2021-05-20 06:30:44 +00:00
* [#6438 ](https://github.com/netbox-community/netbox/issues/6438 ) - Fix missing descriptions and label for device type imports and exports
2021-05-21 11:17:58 -04:00
* [#6465 ](https://github.com/netbox-community/netbox/issues/6465 ) - Fix typo in installed plugins REST API endpoint
2021-05-21 15:56:22 -04:00
* [#6467 ](https://github.com/netbox-community/netbox/issues/6467 ) - Fix access to metrics on custom `BASE_PATH` when login is required
2021-05-21 15:43:18 -04:00
* [#6468 ](https://github.com/netbox-community/netbox/issues/6468 ) - Disable ordering VLAN groups list by scope object
2021-05-12 13:47:42 -04:00
2021-05-12 13:38:52 -04:00
---
2021-05-07 10:01:17 -04:00
## v2.11.3 (2021-05-07)
2021-04-29 08:10:11 -04:00
### Enhancements
* [#6197 ](https://github.com/netbox-community/netbox/issues/6197 ) - Introduced `SESSION_COOKIE_NAME` config parameter
2021-04-30 10:10:03 -04:00
* [#6318 ](https://github.com/netbox-community/netbox/issues/6318 ) - Add OM5 MMF cable type
2021-05-05 09:53:06 -04:00
* [#6351 ](https://github.com/netbox-community/netbox/issues/6351 ) - Add aggregates count to tenant view
2021-05-06 13:01:20 -04:00
* [#6359 ](https://github.com/netbox-community/netbox/issues/6359 ) - Enable custom links for organizational and nested group models
2021-04-29 08:10:11 -04:00
2021-04-29 08:43:46 -04:00
### Bug Fixes
2021-05-04 09:36:01 -04:00
* [#6240 ](https://github.com/netbox-community/netbox/issues/6240 ) - Fix display of available VLAN ranges under VLAN group view
2021-04-29 08:43:46 -04:00
* [#6308 ](https://github.com/netbox-community/netbox/issues/6308 ) - Fix linking of available VLANs in VLAN group view
2021-04-29 08:50:19 -04:00
* [#6309 ](https://github.com/netbox-community/netbox/issues/6309 ) - Restrict parent VM interface assignment to the parent VM
2021-05-07 09:47:32 -04:00
* [#6312 ](https://github.com/netbox-community/netbox/issues/6312 ) - Interface device filter should return all virtual chassis interfaces only if device is master
2021-04-30 10:08:15 -04:00
* [#6313 ](https://github.com/netbox-community/netbox/issues/6313 ) - Fix device type instance count under manufacturer view
2021-04-30 15:47:06 -04:00
* [#6321 ](https://github.com/netbox-community/netbox/issues/6321 ) - Restore "add an IP" button under prefix IPs view
2021-05-03 14:38:26 -04:00
* [#6333 ](https://github.com/netbox-community/netbox/issues/6333 ) - Fix filtering of circuit terminations by primary key
2021-05-04 09:12:26 -04:00
* [#6339 ](https://github.com/netbox-community/netbox/issues/6339 ) - Improve ordering of interfaces when viewing virtual chassis master
2021-05-06 13:59:10 -04:00
* [#6350 ](https://github.com/netbox-community/netbox/issues/6350 ) - Include first & last IP addresses when allocating available IPv6 addresses via the REST API
2021-05-06 13:29:52 -04:00
* [#6355 ](https://github.com/netbox-community/netbox/issues/6355 ) - Fix caching error when swapping A/Z circuit terminations
2021-05-06 13:06:10 -04:00
* [#6357 ](https://github.com/netbox-community/netbox/issues/6357 ) - Fix ProviderNetwork nested API serializer
2021-05-06 12:47:58 -04:00
* [#6363 ](https://github.com/netbox-community/netbox/issues/6363 ) - Correct pre-population of cluster group when creating a cluster
2021-05-06 14:36:23 -04:00
* [#6369 ](https://github.com/netbox-community/netbox/issues/6369 ) - Fix interface assignment for VLANs in non-scoped groups
2021-04-29 08:43:46 -04:00
2021-04-29 08:10:11 -04:00
---
2021-04-27 10:20:36 -04:00
## v2.11.2 (2021-04-27)
2021-04-22 14:05:07 -04:00
2021-04-26 15:28:35 -04:00
### Enhancements
* [#6275 ](https://github.com/netbox-community/netbox/issues/6275 ) - Linkify rack, device counts on locations list
2021-04-26 15:31:53 -04:00
* [#6278 ](https://github.com/netbox-community/netbox/issues/6278 ) - Note device locations on cable traces
2021-04-27 08:34:21 -04:00
* [#6287 ](https://github.com/netbox-community/netbox/issues/6287 ) - Add option to clear assigned max length filter on prefixes list
2021-04-26 15:28:35 -04:00
2021-04-22 14:05:07 -04:00
### Bug Fixes
2021-04-23 15:27:58 -04:00
* [#6236 ](https://github.com/netbox-community/netbox/issues/6236 ) - Journal entry title should account for configured timezone
2021-04-22 14:05:07 -04:00
* [#6246 ](https://github.com/netbox-community/netbox/issues/6246 ) - Permit full-length descriptions when creating device components and VM interfaces
2021-04-23 10:27:58 -04:00
* [#6248 ](https://github.com/netbox-community/netbox/issues/6248 ) - Fix table column reconfiguration under Chrome
2021-04-23 10:07:11 -04:00
* [#6252 ](https://github.com/netbox-community/netbox/issues/6252 ) - Fix assignment of console port speed values above 19.2kbps
2021-04-23 09:44:29 -04:00
* [#6254 ](https://github.com/netbox-community/netbox/issues/6254 ) - Disable ordering of space column in racks table
2021-04-23 09:37:22 -04:00
* [#6258 ](https://github.com/netbox-community/netbox/issues/6258 ) - Fix parent assignment for SiteGroup API serializer
2021-04-27 10:04:28 -04:00
* [#6262 ](https://github.com/netbox-community/netbox/issues/6262 ) - Support filtering by created/updated time for all relevant objects
2021-04-26 16:49:52 -04:00
* [#6267 ](https://github.com/netbox-community/netbox/issues/6267 ) - Fix cable tracing API endpoint for circuit terminations
2021-04-27 09:36:48 -04:00
* [#6289 ](https://github.com/netbox-community/netbox/issues/6289 ) - Fix assignment of VC member interfaces to LAG interfaces
2021-04-22 14:05:07 -04:00
---
2021-04-21 09:47:30 -04:00
## v2.11.1 (2021-04-21)
2021-04-16 13:07:41 -04:00
2021-04-19 15:56:39 -04:00
### Enhancements
2021-04-20 20:21:52 -04:00
* [#6161 ](https://github.com/netbox-community/netbox/issues/6161 ) - Enable ordering of device component tables
2021-04-20 09:17:14 -04:00
* [#6179 ](https://github.com/netbox-community/netbox/issues/6179 ) - Enable natural ordering for virtual machines
2021-04-19 15:56:39 -04:00
* [#6189 ](https://github.com/netbox-community/netbox/issues/6189 ) - Add ability to search for locations by name or description
2021-04-19 16:55:57 -04:00
* [#6190 ](https://github.com/netbox-community/netbox/issues/6190 ) - Allow filtering devices with no location assigned
2021-04-20 14:15:12 -04:00
* [#6210 ](https://github.com/netbox-community/netbox/issues/6210 ) - Include child locations on location view
2021-04-19 15:56:39 -04:00
2021-04-16 13:07:41 -04:00
### Bug Fixes
* [#6184 ](https://github.com/netbox-community/netbox/issues/6184 ) - Fix parent object table column in prefix IP addresses list
2021-04-19 10:57:13 -04:00
* [#6188 ](https://github.com/netbox-community/netbox/issues/6188 ) - Support custom field filtering for regions, site groups, and locations
2021-04-19 10:46:23 -04:00
* [#6196 ](https://github.com/netbox-community/netbox/issues/6196 ) - Fix object list display for users with read-only permissions
2021-04-19 16:50:56 -04:00
* [#6215 ](https://github.com/netbox-community/netbox/issues/6215 ) - Restore tenancy section in virtual machine form
2021-04-16 13:07:41 -04:00
---
2021-04-16 09:36:05 -04:00
## v2.11.0 (2021-04-16)
2021-02-26 16:12:52 -05:00
2021-05-25 15:05:02 -04:00
**Note:** NetBox v2.11 is the last major release that will support Python 3.6. Beginning with NetBox v3.0, Python 3.7 or later will be required.
2021-03-29 11:56:07 -04:00
### Breaking Changes
* All objects now use numeric IDs in their UI view URLs instead of slugs. You may need to update external references to NetBox objects. (Note that this does _not_ affect the REST API.)
* The UI now uses numeric IDs when filtering object lists. You may need to update external links to filtered object lists. (Note that the slug- and name-based filters will continue to work, however the filter selection fields within the UI will not be automatically populated.)
* The RackGroup model has been renamed to Location (see [#4971 ](https://github.com/netbox-community/netbox/issues/4971 )). Its REST API endpoint has changed from `/api/dcim/rack-groups/` to `/api/dcim/locations/` .
* The foreign key field `group` on dcim.Rack has been renamed to `location` .
* The foreign key field `site` on ipam.VLANGroup has been replaced with the `scope` generic foreign key (see [#5284 ](https://github.com/netbox-community/netbox/issues/5284 )).
* Custom script ObjectVars no longer support the `queryset` parameter: Use `model` instead (see [#5995 ](https://github.com/netbox-community/netbox/issues/5995 )).
2021-03-08 13:36:56 -05:00
2021-03-01 21:34:42 -05:00
### New Features
2021-03-17 10:58:40 -04:00
#### Journaling Support ([#151](https://github.com/netbox-community/netbox/issues/151))
2021-03-29 11:56:07 -04:00
NetBox now supports journaling for all primary objects. The journal is a collection of human-generated notes and comments about an object maintained for historical context. It supplements NetBox's change log to provide additional information about why changes have been made or to convey events which occur outside NetBox. Unlike the change log, in which records typically expire after some time, journal entries persist for the life of the associated object.
2021-03-17 10:58:40 -04:00
2021-03-05 16:25:39 -05:00
#### Parent Interface Assignments ([#1519](https://github.com/netbox-community/netbox/issues/1519))
2021-04-09 10:53:05 -04:00
Virtual device and VM interfaces can now be assigned to a "parent" interface by setting the `parent` field on the interface object. This is helpful for associating subinterfaces with their physical counterpart. For example, you might assign virtual interfaces Gi0/0.100 and Gi0/0.200 as children of the physical interface Gi0/0.
2021-03-05 16:25:39 -05:00
2021-03-09 13:03:44 -05:00
#### Pre- and Post-Change Snapshots in Webhooks ([#3451](https://github.com/netbox-community/netbox/issues/3451))
2021-03-29 11:56:07 -04:00
In conjunction with the newly improved change logging functionality ([#5913 ](https://github.com/netbox-community/netbox/issues/5913 )), outgoing webhooks now include both pre- and post-change representations of the modified object. These are available in the rendering context as a dictionary named `snapshots` with keys `prechange` and `postchange` . For example, here are the abridged snapshots resulting from renaming a site and changing its status:
2021-03-09 13:03:44 -05:00
```json
"snapshots": {
"prechange": {
"name": "Site 1",
"slug": "site-1",
"status": "active",
...
},
"postchange": {
"name": "Site 2",
"slug": "site-2",
"status": "planned",
...
}
}
```
2021-03-29 11:56:07 -04:00
Note: The pre-change snapshot for a newly created will always be null, as will the post-change snapshot for a deleted object.
2021-03-09 13:03:44 -05:00
2021-03-01 21:34:42 -05:00
#### Mark as Connected Without a Cable ([#3648](https://github.com/netbox-community/netbox/issues/3648))
2021-03-29 11:56:07 -04:00
Cable termination objects (circuit terminations, power feeds, and most device components) can now be marked as "connected" without actually attaching a cable. This helps simplify the process of modeling an infrastructure boundary where we don't necessarily know or care what is connected to an attachment point, but still need to reflect the termination as being occupied.
2021-03-01 21:34:42 -05:00
2021-03-03 14:28:07 -05:00
In addition to the new `mark_connected` boolean field, the REST API representation of these objects now also includes a read-only boolean field named `_occupied` . This conveniently returns true if either a cable is attached or `mark_connected` is true.
#### Allow Assigning Devices to Locations ([#4971](https://github.com/netbox-community/netbox/issues/4971))
Devices can now be assigned to locations (formerly known as rack groups) within a site without needing to be assigned to a particular rack. This is handy for assigning devices to rooms or floors within a building where racks are not used. The `location` foreign key field has been added to the Device model to support this.
2021-03-01 21:34:42 -05:00
2021-03-05 09:15:27 -05:00
#### Dynamic Object Exports ([#4999](https://github.com/netbox-community/netbox/issues/4999))
2021-03-29 11:56:07 -04:00
When exporting a list of objects in NetBox, users now have the option of selecting the "current view". This will render CSV output matching the current configuration of the table being viewed. For example, if you modify the sites list to display only the site name, tenant, and status, the rendered CSV will include only these columns, and they will appear in the order chosen.
2021-03-05 09:15:27 -05:00
2021-05-25 15:05:02 -04:00
The legacy static export behavior has been retained to ensure backward compatibility for dependent integrations. However, users are strongly encouraged to adapt custom export templates where needed as this functionality will be removed in v3.0.
2021-03-05 09:15:27 -05:00
2021-03-11 11:13:41 -05:00
#### Variable Scope Support for VLAN Groups ([#5284](https://github.com/netbox-community/netbox/issues/5284))
In previous releases, VLAN groups could be assigned only to a site. To afford more flexibility in conveying the true scope of an L2 domain, a VLAN group can now be assigned to a region, site group (new in v2.11), site, location, or rack. VLANs assigned to a group will be available only to devices and virtual machines which exist within its scope.
For example, a VLAN within a group assigned to a location will be available only to devices assigned to that location (or one of its child locations), or to a rack within that location.
2021-03-08 13:28:53 -05:00
#### New Site Group Model ([#5892](https://github.com/netbox-community/netbox/issues/5892))
2021-03-29 11:56:07 -04:00
This release introduces the new SiteGroup model, which can be used to organize sites similar to the existing Region model. Whereas regions are intended for geographically arranging sites into countries, states, and so on, the new site group model can be used to organize sites by functional role or other arbitrary classification. Using regions and site groups in conjunction provides two dimensions along which sites can be organized, offering greater flexibility to the user.
2021-03-08 13:28:53 -05:00
2021-03-04 13:06:04 -05:00
#### Improved Change Logging ([#5913](https://github.com/netbox-community/netbox/issues/5913))
The ObjectChange model (which is used to record the creation, modification, and deletion of NetBox objects) now explicitly records the pre-change and post-change state of each object, rather than only the post-change state. This was done to present a more clear depiction of each change being made, and to prevent the erroneous association of a previous unlogged change with its successor.
2021-04-01 10:21:41 -04:00
#### Provider Network Modeling ([#5986](https://github.com/netbox-community/netbox/issues/5986))
2021-03-18 14:43:07 -04:00
2021-04-01 10:21:41 -04:00
A new provider network model has been introduced to represent the boundary of a network that exists outside the scope of NetBox. Each instance of this model must be assigned to a provider, and circuits can now terminate to either provider networks or to sites. The use of this model will likely be extended by future releases to support overlay and virtual circuit modeling.
2021-03-18 14:43:07 -04:00
2021-02-26 16:25:37 -05:00
### Enhancements
2021-03-29 15:40:09 -04:00
* [#4833 ](https://github.com/netbox-community/netbox/issues/4833 ) - Allow assigning config contexts by device type
2021-03-29 17:51:45 -04:00
* [#5344 ](https://github.com/netbox-community/netbox/issues/5344 ) - Add support for custom fields in tables
2021-02-26 16:25:37 -05:00
* [#5370 ](https://github.com/netbox-community/netbox/issues/5370 ) - Extend custom field support to organizational models
2021-03-03 10:20:08 -05:00
* [#5375 ](https://github.com/netbox-community/netbox/issues/5375 ) - Add `speed` attribute to console port models
2021-03-01 14:15:41 -05:00
* [#5401 ](https://github.com/netbox-community/netbox/issues/5401 ) - Extend custom field support to device component models
2021-03-29 14:55:17 -04:00
* [#5425 ](https://github.com/netbox-community/netbox/issues/5425 ) - Create separate tabs for VMs and devices under the cluster view
2021-03-01 14:51:29 -05:00
* [#5451 ](https://github.com/netbox-community/netbox/issues/5451 ) - Add support for multiple-selection custom fields
2021-03-08 20:57:44 -05:00
* [#5608 ](https://github.com/netbox-community/netbox/issues/5608 ) - Add REST API endpoint for custom links
2021-03-09 09:22:58 -05:00
* [#5610 ](https://github.com/netbox-community/netbox/issues/5610 ) - Add REST API endpoint for webhooks
2021-04-16 09:16:01 -04:00
* [#5757 ](https://github.com/netbox-community/netbox/issues/5757 ) - Add unique identifier to every object view
2021-03-30 18:59:47 -04:00
* [#5830 ](https://github.com/netbox-community/netbox/issues/5830 ) - Add `as_attachment` to ExportTemplate to control download behavior
2021-04-16 09:16:01 -04:00
* [#5848 ](https://github.com/netbox-community/netbox/issues/5848 ) - Filter custom fields by content type in format `<app_label>.<model>`
2021-03-16 10:06:25 -04:00
* [#5891 ](https://github.com/netbox-community/netbox/issues/5891 ) - Add `display` field to all REST API serializers
2021-03-01 17:24:30 -05:00
* [#5894 ](https://github.com/netbox-community/netbox/issues/5894 ) - Use primary keys when filtering object lists by related objects in the UI
2021-03-03 13:30:33 -05:00
* [#5895 ](https://github.com/netbox-community/netbox/issues/5895 ) - Rename RackGroup to Location
2021-03-01 15:42:39 -05:00
* [#5901 ](https://github.com/netbox-community/netbox/issues/5901 ) - Add `created` and `last_updated` fields to device component models
2021-03-26 20:25:55 -04:00
* [#5971 ](https://github.com/netbox-community/netbox/issues/5971 ) - Add dedicated views for organizational models
2021-03-12 16:14:42 -05:00
* [#5972 ](https://github.com/netbox-community/netbox/issues/5972 ) - Enable bulk editing for organizational models
2021-03-29 11:56:07 -04:00
* [#5975 ](https://github.com/netbox-community/netbox/issues/5975 ) - Allow partial (decimal) vCPU allocations for virtual machines
2021-03-31 14:24:05 -04:00
* [#6001 ](https://github.com/netbox-community/netbox/issues/6001 ) - Paginate component tables under device views
2021-03-29 16:53:41 -04:00
* [#6038 ](https://github.com/netbox-community/netbox/issues/6038 ) - Include tagged objects list on tag view
2021-04-16 09:16:01 -04:00
* [#6088 ](https://github.com/netbox-community/netbox/issues/6088 ) - Improved table configuration form
* [#6097 ](https://github.com/netbox-community/netbox/issues/6097 ) - Redirect old slug-based object views
* [#6125 ](https://github.com/netbox-community/netbox/issues/6125 ) - Add locations count to home page
* [#6146 ](https://github.com/netbox-community/netbox/issues/6146 ) - Add bulk disconnect support for power feeds
* [#6149 ](https://github.com/netbox-community/netbox/issues/6149 ) - Support image attachments for locations
### Bug Fixes (from v2.11-beta1)
* [#5583 ](https://github.com/netbox-community/netbox/issues/5583 ) - Eliminate redundant change records when adding/removing tags
* [#6100 ](https://github.com/netbox-community/netbox/issues/6100 ) - Fix VM interfaces table "add interfaces" link
* [#6104 ](https://github.com/netbox-community/netbox/issues/6104 ) - Fix location column on racks table
* [#6105 ](https://github.com/netbox-community/netbox/issues/6105 ) - Hide checkboxes for VMs under cluster VMs view
* [#6106 ](https://github.com/netbox-community/netbox/issues/6106 ) - Allow assigning a virtual interface as the parent of an existing interface
* [#6107 ](https://github.com/netbox-community/netbox/issues/6107 ) - Fix rack selection field on device form
* [#6110 ](https://github.com/netbox-community/netbox/issues/6110 ) - Fix handling of TemplateColumn values for table export
* [#6123 ](https://github.com/netbox-community/netbox/issues/6123 ) - Prevent device from being assigned to mismatched site and location
* [#6124 ](https://github.com/netbox-community/netbox/issues/6124 ) - Location `parent` filter should return all child locations (not just those directly assigned)
* [#6130 ](https://github.com/netbox-community/netbox/issues/6130 ) - Improve display of assigned models in custom fields list
* [#6155 ](https://github.com/netbox-community/netbox/issues/6155 ) - Fix admin links for plugins, background tasks
* [#6171 ](https://github.com/netbox-community/netbox/issues/6171 ) - Fix display of horizontally-scrolling object lists
* [#6173 ](https://github.com/netbox-community/netbox/issues/6173 ) - Fix assigned device/VM count when bulk editing/deleting device roles
2021-04-16 09:16:43 -04:00
* [#6176 ](https://github.com/netbox-community/netbox/issues/6176 ) - Correct position of MAC address field when creating VM interfaces
2021-04-16 09:18:58 -04:00
* [#6177 ](https://github.com/netbox-community/netbox/issues/6177 ) - Prevent VM interface from being assigned as its own parent
2021-02-26 16:25:37 -05:00
2021-02-26 16:12:52 -05:00
### Other Changes
* [#1638 ](https://github.com/netbox-community/netbox/issues/1638 ) - Migrate all primary keys to 64-bit integers
2021-02-26 17:23:23 -05:00
* [#5873 ](https://github.com/netbox-community/netbox/issues/5873 ) - Use numeric IDs in all object URLs
2021-03-29 11:56:07 -04:00
* [#5938 ](https://github.com/netbox-community/netbox/issues/5938 ) - Deprecated support for Python 3.6
2021-03-16 11:08:34 -04:00
* [#5990 ](https://github.com/netbox-community/netbox/issues/5990 ) - Deprecated `display_field` parameter for custom script ObjectVar and MultiObjectVar fields
2021-03-16 11:28:50 -04:00
* [#5995 ](https://github.com/netbox-community/netbox/issues/5995 ) - Dropped backward compatibility for `queryset` parameter on ObjectVar and MultiObjectVar (use `model` instead)
2021-03-29 11:56:07 -04:00
* [#6014 ](https://github.com/netbox-community/netbox/issues/6014 ) - Moved the virtual machine interfaces list to a separate view
2021-04-01 14:31:10 -04:00
* [#6071 ](https://github.com/netbox-community/netbox/issues/6071 ) - Cable traces now traverse circuits
2021-03-01 21:34:42 -05:00
### REST API Changes
* All primary keys are now 64-bit integers
2021-03-16 10:06:25 -04:00
* All model serializers now include a `display` field to be used for the presentation of an object to a human user
2021-03-01 21:34:42 -05:00
* All device components
2021-04-16 09:32:37 -04:00
* Added support for custom fields
* Added `created` and `last_updated` fields to track object creation and modification
2021-03-01 21:34:42 -05:00
* All device component templates
2021-04-16 09:32:37 -04:00
* Added `created` and `last_updated` fields to track object creation and modification
2021-03-01 21:34:42 -05:00
* All organizational models
2021-04-16 09:32:37 -04:00
* Added support for custom fields
2021-03-01 21:34:42 -05:00
* All cable termination models (cabled device components, power feeds, and circuit terminations)
2021-04-16 09:32:37 -04:00
* Added `mark_connected` boolean field to force connection status
* Added `_occupied` read-only boolean field as common attribute for determining whether an object is occupied
2021-03-03 13:30:33 -05:00
* Renamed RackGroup to Location
2021-04-16 09:32:37 -04:00
* The `/dcim/rack-groups/` endpoint is now `/dcim/locations/`
2021-03-18 14:43:07 -04:00
* circuits.CircuitTermination
2021-04-16 09:32:37 -04:00
* Added the `provider_network` field
* Removed the `connected_endpoint` , `connected_endpoint_type` , and `connected_endpoint_reachable` fields
2021-04-26 16:49:52 -04:00
* The `trace/` endpoint has been replaced with `paths/`
2021-04-01 10:21:41 -04:00
* circuits.ProviderNetwork
2021-04-16 09:32:37 -04:00
* Added the `/api/circuits/provider-networks/` endpoint
2021-03-03 14:28:07 -05:00
* dcim.Device
2021-04-16 09:32:37 -04:00
* Added the `location` field
2021-03-05 16:25:39 -05:00
* dcim.Interface
2021-04-16 09:32:37 -04:00
* Added the `parent` field
2021-03-03 13:30:33 -05:00
* dcim.PowerPanel
2021-04-16 09:32:37 -04:00
* Renamed `rack_group` field to `location`
2021-03-03 13:30:33 -05:00
* dcim.Rack
2021-04-16 09:32:37 -04:00
* Renamed `group` field to `location`
2021-03-08 13:28:53 -05:00
* dcim.Site
2021-04-16 09:32:37 -04:00
* Added the `group` foreign key field to SiteGroup
2021-03-08 13:28:53 -05:00
* dcim.SiteGroup
2021-04-16 09:32:37 -04:00
* Added the `/api/dcim/site-groups/` endpoint
2021-03-08 13:28:53 -05:00
* extras.ConfigContext
2021-04-16 09:32:37 -04:00
* Added the `site_groups` many-to-many field to track the assignment of ConfigContexts to SiteGroups
2021-03-01 21:34:42 -05:00
* extras.CustomField
2021-04-16 09:32:37 -04:00
* Added new custom field type: `multi-select`
2021-03-08 20:57:44 -05:00
* extras.CustomLink
2021-04-16 09:32:37 -04:00
* Added the `/api/extras/custom-links/` endpoint
2021-03-30 18:59:47 -04:00
* extras.ExportTemplate
2021-04-16 09:32:37 -04:00
* Added the `as_attachment` boolean field
2021-03-04 13:06:04 -05:00
* extras.ObjectChange
2021-04-16 09:32:37 -04:00
* Added the `prechange_data` field
* Renamed `object_data` to `postchange_data`
2021-03-09 09:22:58 -05:00
* extras.Webhook
2021-04-16 09:32:37 -04:00
* Added the `/api/extras/webhooks/` endpoint
2021-03-11 11:13:41 -05:00
* ipam.VLANGroup
2021-04-16 09:32:37 -04:00
* Added the `scope_type` , `scope_id` , and `scope` fields (`scope` is a generic foreign key)
* Dropped the `site` foreign key field
2021-03-16 11:52:59 -04:00
* virtualization.VirtualMachine
2021-04-16 09:32:37 -04:00
* `vcpus` has been changed from an integer to a decimal value
2021-04-09 10:53:05 -04:00
* virtualization.VMInterface
2021-04-16 09:32:37 -04:00
* Added the `parent` field