v2.2.0 - 2017-10-12
Note: This release requires PostgreSQL 9.4 or higher. Do not attempt to upgrade unless you are running at least PostgreSQL 9.4.
Note: The release replaces the deprecated pycrypto library with pycryptodome. The upgrade script has been extended to automatically uninstall the old library, but please verify your installed packages with pip freeze | grep pycrypto
if you run into problems.
New Features
Virtual Machines and Clusters (#142)
Our second-most popular feature request has arrived! NetBox now supports the creation of virtual machines, which can be assigned virtual interfaces and IP addresses. VMs are arranged into clusters, each of which has a type and (optionally) a group.
Custom Validation Reports (#1511)
Users can now create custom reports which are run to validate data in NetBox. Reports work very similar to Python unit tests: Each report inherits from NetBox's Report class and contains one or more test method. Reports can be run and retrieved via the web UI, API, or CLI. See the docs for more info.
Enhancements
- #494 - Include asset tag in device info pop-up on rack elevation
- #1444 - Added a
serial
field to the rack model - #1479 - Added an IP address role for CARP
- #1506 - Extended rack facility ID field from 30 to 50 characters
- #1510 - Added ability to search by name when adding devices to a cluster
- #1527 - Replace deprecated pycrypto library with pycryptodome
- #1551 - Added API endpoints listing static field choices for each app
- #1556 - Added CPAK, CFP2, and CFP4 100GE interface form factors
- Added CSV import views for all object types
Bug Fixes
- #1550 - Corrected interface connections link in navigation menu
- #1554 - Don't require form_factor when creating an interface assigned to a virtual machine
- #1557 - Added filtering for virtual machine interfaces
- #1567 - Prompt user for session key when importing secrets
API Changes
- Introduced the virtualization app and its associated endpoints at
/api/virtualization
- Added the
/api/extras/reports
endpoint for fetching and running reports - The
ipam.Service
anddcim.Interface
models now have avirtual_machine
field in addition to thedevice
field. Only one of the two fields may be defined for each object - Added a
vm_role
field todcim.DeviceRole
, which indicates whether a role is suitable for assigned to a virtual machine - Added a
serial
field to 'dcim.Rack` for serial numbers - Each app now has a
_choices
endpoint, which lists the available options for all model field with static choices (e.g. interface form factors)