Releases: netbox-community/netbox
v2.1.0 - 2017-07-25
New Features
IP Address Roles (#819)
The IP address model now supports the assignment of a functional role to help identify special-purpose IPs. These include:
- Loopback
- Secondary
- Anycast
- VIP
- VRRP
- HSRP
- GLBP
Automatic Provisioning of Next Available IP (#1246)
A new API endpoint has been added at /api/ipam/prefixes/<pk>/available-ips/
. A GET request to this endpoint will return a list of available IP addresses within the prefix (up to the pagination limit). A POST request will automatically create and return the next available IP address.
NAPALM Integration (#1348)
The NAPALM automation library provides an abstracted interface for pulling live data (e.g. uptime, software version, running config, LLDP neighbors, etc.) from network devices. The NetBox API has been extended to support executing read-only NAPALM methods on devices defined in NetBox. To enable this functionality, ensure that NAPALM has been installed (pip install napalm
) and the NETBOX_USERNAME
and NETBOX_PASSWORD
configuration parameters have been set in configuration.py.
Enhancements
- #838 - Display details of all objects being edited/deleted in bulk
- #1041 - Added enabled and MTU fields to the interface model
- #1121 - Added asset_tag and description fields to the InventoryItem model
- #1141 - Include RD when listing VRFs in a form selection field
- #1203 - Implemented query filters for all models
- #1218 - Added IEEE 802.11 wireless interface types
- #1269 - Added circuit termination to interface serializer
- #1320 - Removed checkbox from confirmation dialog
Bug Fixes
- #1079 - Order interfaces naturally via API
- #1285 - Enforce model validation when creating/editing objects via the API
- #1358 - Correct VRF example values in IP/prefix import forms
- #1362 - Raise validation error when attempting to create an API key that's too short
- #1371 - Extend DeviceSerializer.parent_device to include standard fields
API changes
- Added a new API endpoint which makes NAPALM accessible via NetBox
- Device components (console ports, power ports, interfaces, etc.) can only be filtered by a single device name or ID. This limitation was necessary to allow the natural ordering of interfaces according to the device's parent device type.
- Added two new fields to the interface serializer:
enabled
(boolean) andmtu
(unsigned integer) - Modified the interface serializer to include three discrete fields relating to connections:
is_connected
(boolean),interface_connection
, andcircuit_termination
- Added two new fields to the inventory item serializer:
asset_tag
anddescription
- Added "wireless" to interface type filter (in addition to physical, virtual, and LAG)
- Added a new endpoint at /api/ipam/prefixes//available-ips/ to retrieve or create available IPs within a prefix
- Extended
parent_device
on DeviceSerializer to include theurl
anddisplay_name
of the parent Device, and theurl
of the DeviceBay
v2.0.10 - 2017-07-14
Bug Fixes
- #1312 - Catch error when attempting to activate a user key with an invalid private key
- #1333 - Corrected label on is_console_server field of DeviceType bulk edit form
- #1338 - Allow importing prefixes with "container" status
- #1339 - Fixed disappearing checkbox column under django-tables2 v1.7+
- #1342 - Allow designation of users and groups when creating/editing a secret role
v2.0.9 - 2017-07-10
v2.1-beta1 - 2017-07-10
This is the first beta release of NetBox v2.1.
Enhancements
- #819 - Implemented IP address functional roles
- #1041 - Added enabled and MTU fields to the interface model
- #1121 - Added asset_tag and description fields to the InventoryItem model
- #1141 - Include RD when listing VRFs in a form selection field
- #1203 - Implemented query filters for all models
- #1218 - Added IEEE 802.11 wireless interface types
- #1246 - Added an API endpoint to retrieve/create available IPs within a prefix
- #1269 - Added circuit termination to interface serializer
Bug Fixes
- #1079 - Order interfaces naturally via API
- #1285 - Enforce model validation when creating/editing objects via the API
API changes
- Device components (console ports, power ports, interfaces, etc.) can only be filtered by a single device name or ID. This limitation was necessary to allow the natural ordering of interfaces according to the device's parent device type.
- Added two new fields to the interface serializer:
enabled
(boolean) andmtu
(unsigned integer) - Modified the interface serializer to include three discrete fields relating to connections:
is_connected
(boolean),interface_connection
, andcircuit_termination
- Added two new fields to the inventory item serializer:
asset_tag
anddescription
- Added "wireless" to interface type filter (in addition to physical, virtual, and LAG)
- Added a new endpoint at /api/ipam/prefixes//available-ips/ to retrieve or create available IPs within a prefix
v2.0.8 - 2017-07-05
Enhancements
- #1298 - Calculate prefix utilization based on its status (container or non-container)
- #1303 - Highlight installed interface connections in green on device view
- #1315 - Enforce lowercase file extensions for image attachments
Bug Fixes
- #1279 - Fix primary_ip assignment during IP address import
- #1281 - Show LLDP neighbors tab on device view only if necessary conditions are met
- #1282 - Fixed tooltips on "mark connected/planned" toggle buttons for device connections
- #1288 - Corrected permission name for deleting image attachments
- #1289 - Retain inside NAT assignment when editing an IP address
- #1297 - Allow passing custom field choice selection PKs to API as string-quoted integers
- #1299 - Corrected permission name for adding services to devices
v2.0.7 - 2017-06-15
Enhancements
- #626 - Added bulk disconnect function for console/power/interface connections on device view
Bug Fixes
- #1238 - Fix error when editing an IP with a NAT assignment which has no assigned device
- #1263 - Differentiate add and edit permissions for objects
- #1265 - Fix console/power/interface connection validation when selecting a device via live search
- #1266 - Prevent terminating a circuit to an already-connected interface
- #1268 - Fix CSV import error under Python 3
- #1273 - Corrected status choices in IP address import form
- #1274 - Exclude unterminated circuits from topology maps
- #1275 - Raise validation error on prefix import when multiple VLANs are found
v2.0.6 - 2017-06-12
Enhancements
- #40 - Added IP utilization graph to prefix list
- #704 - Allow filtering VLANs by group when editing prefixes
- #913 - Added headers to object CSV exports
- #990 - Enable logging configuration in configuration.py
- #1180 - Simplified the process of finding related devices when viewing a device
Bug Fixes
- #1253 - Improved
upgrade.sh
to allow forcing Python2
v2.0.5 - 2017-06-08
Notes
The maximum number of objects an API consumer can request has been set to 1000 (e.g. ?limit=1000
). This limit can be modified by defining MAX_PAGE_SIZE
in confgiuration.py. (To remove this limit, set MAX_PAGE_SIZE=0
.)
Enhancements
- #655 - Implemented header-based CSV import of objects
- #1190 - Allow partial string matching when searching on custom fields
- #1237 - Enabled setting limit=0 to disable pagination in API requests; added
MAX_PAGE_SIZE
configuration setting
Bug Fixes
- #837 - Enforce uniqueness where applicable during bulk import of IP addresses
- #1226 - Improved validation for custom field values submitted via the API
- #1232 - Improved rack space validation on bulk import of devices (see #655)
- #1235 - Fix permission name for adding/editing inventory items
- #1236 - Truncate rack names in elevations list; add facility ID
- #1239 - Fix server error when creating VLANGroup via API
- #1243 - Catch ValueError in IP-based object filters
- #1244 - Corrected "device" secrets filter to accept a device name
v2.0.4 - 2017-05-25
Bug Fixes
- #1206 - Fix redirection in admin UI after activating secret keys when BASE_PATH is set
- #1207 - Include nested LAG serializer when showing interface connections (API)
- #1210 - Fix TemplateDoesNotExist errors on browsable API views
- #1212 - Allow assigning new VLANs to global VLAN groups
- #1213 - Corrected table header ordering links on object list views
- #1214 - Add status to list of required fields on child device import form
- #1219 - Fix image attachment URLs when BASE_PATH is set
- #1220 - Suppressed innocuous warning about untracked migrations under Python 3
- #1229 - Fix validation error on forms where API search is used
v2.0.3 - 2017-05-18
Enhancements
- #1196 - Added a lag_id filter to the API interfaces view
- #1198 - Allow filtering unracked devices on device list
Bug Fixes
- #1157 - Hide nav menu search bar on small displays
- #1186 - Corrected VLAN edit form so that site assignment is not required
- #1187 - Fixed table pagination by introducing a custom table template
- #1188 - Serialize interface LAG as nested objected (API)
- #1189 - Enforce consistent ordering of objects returned by a global search
- #1191 - Bulk selection of IPs under a prefix incorrect when "select all" is used
- #1195 - Unable to create an interface connection when searching for peer device
- #1197 - Fixed status assignment during bulk import of devices, prefixes, IPs, and VLANs
- #1199 - Bulk import of secrets does not prompt user to generate a session key
- #1200 - Form validation error when connecting power ports to power outlets