Skip to content

Latest commit

 

History

History
2455 lines (1714 loc) · 156 KB

CHANGELOG.md

File metadata and controls

2455 lines (1714 loc) · 156 KB

v2.6.5 (2019-09-25)

Enhancements

  • #3297 - Include reserved units when calculating rack utilization
  • #3347 - Extend upgrade script to automatically remove stale content types
  • #3352 - Enable filtering changelog API by changed_object_id
  • #3515 - Enable export templates for inventory items
  • #3524 - Enable bulk editing of power outlet/power port associations
  • #3529 - Enable filtering circuits list by region

Bug Fixes

  • #3435 - Change IP/prefix CSV export to reference VRF name instead of RD
  • #3464 - Fix foreground text color on color picker fields
  • #3519 - Prevent cables from being terminated to virtual/wireless interfaces via API
  • #3521 - Fix error in parseURL related to variables in API URL
  • #3531 - Fixed rack role foreground color
  • #3534 - Added blank option for untagged VLANs
  • #3540 - Fixed virtual machine interface edit with new inline vlan edit fields
  • #3543 - Added inline VLAN editing to virtual machine interfaces

v2.6.4 (2019-09-19)

Enhancements

  • #2160 - Add bulk editing for interface VLAN assignment
  • #3027 - Add local_context_data boolean filter for devices
  • #3318 - Increase length of platform name and slug to 100 characters
  • #3341 - Enable inline VLAN assignment while editing an interface
  • #3485 - Enable embedded graphs for devices
  • #3510 - Add minimum/maximum prefix length enforcement for IPNetworkVar

Bug Fixes

  • #3489 - Prevent exception triggered by webhook upon object deletion
  • #3501 - Fix rendering of checkboxes on custom script forms
  • #3511 - Correct API URL for nested device bays
  • #3513 - Fix assignment of tags when creating front/rear ports
  • #3514 - Label TextVar fields when rendering custom script forms

v2.6.3 (2019-09-04)

New Features

Custom Scripts (#3415)

Custom scripts allow for the execution of arbitrary code via the NetBox UI. They can be used to automatically create, manipulate, or clean up objects or perform other tasks within NetBox. Scripts are defined as Python files which contain one or more subclasses of extras.scripts.Script. Variable fields can be defined within scripts, which render as form fields within the web UI to prompt the user for input data. Scripts are executed and information is logged via the web UI. Please see the docs for more detail.

Note: There are currently no API endpoints for this feature. These are planned for the upcoming v2.7 release.

Enhancements

  • #3386 - Add mac_address filter for virtual machines
  • #3391 - Update Bootstrap CSS to v3.4.1
  • #3405 - Fix population of power port/outlet details on device creation
  • #3422 - Prevent navigation menu from overlapping page content
  • #3430 - Linkify platform field on device view
  • #3454 - Enable filtering circuits by region
  • #3456 - Enable bulk editing of tag color

Bug Fixes

  • #3392 - Add database index for ObjectChange time
  • #3420 - Serial number filter for racks, devices, and inventory items is now case-insensitive
  • #3428 - Fixed cache invalidation issues (#3300, #3363, #3379, #3382) by switching to prefetch_related() instead of select_related() and removing use of update()
  • #3421 - Fix exception when ordering power connections list by PDU
  • #3424 - Fix tag coloring for non-linked tags
  • #3426 - Improve API error handling for ChoiceFields

v2.6.2 (2019-08-02)

Enhancements

  • #984 - Allow ordering circuits by A/Z side
  • #3307 - Add power panels count to home page
  • #3314 - Paginate object changelog entries
  • #3367 - Add BNC port type and coaxial cable type
  • #3368 - Indicate indefinite changelog retention when applicable
  • #3370 - Add filter class to VirtualChassis API

Bug Fixes

  • #3018 - Components connected via a cable must have an equal number of positions
  • #3289 - Prevent position from being nullified when moving a device to a new rack
  • #3293 - Enable filtering device components by multiple device IDs
  • #3315 - Enable filtering devices/interfaces by multiple MAC addresses
  • #3317 - Fix permissions for ConfigContextBulkDeleteView
  • #3323 - Fix permission evaluation for interface connections view
  • #3342 - Fix cluster delete button
  • #3384 - Maximum and allocated draw fields should be included on power port template creation form
  • #3385 - Fix power panels list when bulk editing power feeds

v2.6.1 (2019-06-25)

Enhancements

  • #3154 - Add virtual_chassis_member device filter
  • #3277 - Add cable trace buttons for console and power ports
  • #3281 - Hide custom links which render as empty text

Bug Fixes

  • #3229 - Limit rack group selection by parent site on racks list
  • #3269 - Raise validation error when specifying non-existent cable terminations
  • #3275 - Fix error when adding power outlets to a device type
  • #3279 - Reset the PostgreSQL sequence for Tag and TaggedItem IDs
  • #3283 - Fix rack group assignment on PowerFeed CSV import
  • #3290 - Fix server error when viewing cascaded PDUs
  • #3292 - Ignore empty URL query parameters

v2.6.0 (2019-06-20)

New Features

Power Panels and Feeds (#54)

NetBox now supports power circuit modeling via two new models: power panels and power feeds. Power feeds are terminated to power panels and are optionally associated with individual racks. Each power feed defines a supply type (AC/DC), amperage, voltage, and phase. A power port can be connected directly to a power feed, but a power feed may have only one power port connected to it.

Additionally, the power port model, which represents a device's power input, has been extended to include fields denoting maximum and allocated draw, in volt-amperes. This allows a device (e.g. a PDU) to calculate its total load compared to its connected power feed.

Caching (#2647)

To improve performance, NetBox now supports caching for most object and list views. Caching is implemented using Redis, which is now a required dependency. (Previously, Redis was required only if webhooks were enabled.)

A new configuration parameter is available to control the cache timeout:

# Cache timeout (in seconds)
CACHE_TIMEOUT = 900

View Permissions (#323)

Django 2.1 introduced the ability to enforce view-only permissions for different object types. NetBox now enforces these by default. You can grant view permission to a user or group by assigning the "can view" permission for the desired object(s).

To exempt certain object types from the enforcement of view permissions, so that any user (including anonymous users) can view them, add them to the new EXEMPT_VIEW_PERMISSIONS setting in configuration.py:

EXEMPT_VIEW_PERMISSIONS = [
    'dcim.site',
    'ipam.prefix',
]

To exclude all objects, effectively disabling view permissions and restoring pre-v2.6 behavior, set:

EXEMPT_VIEW_PERMISSIONS = ['*']

Custom Links (#969)

Custom links are created under the admin UI and will be displayed on each object of the selected type. Link text and URLs can be formed from Jinja2 template code, with the viewed object passed as context data. For example, to link to an external NMS from the device view, you might create a custom link with the following URL:

https://nms.example.com/nodes/?name={{ obj.name }}

Custom links appear as buttons at the top of the object view. Grouped links will render as a dropdown menu beneath a single button.

Prometheus Metrics (#3104)

NetBox now supports exposing native Prometheus metrics from the application. Prometheus is a popular time series metric platform used for monitoring. Metric exposition can be toggled with the METRICS_ENABLED configuration setting; it is not enabled by default. NetBox exposes metrics at the /metrics HTTP endpoint, e.g. https://netbox.local/metrics.

NetBox makes use of the django-prometheus library to export a number of different types of metrics, including:

  • Per model insert, update, and delete counters
  • Per view request counters
  • Per view request latency histograms
  • Request body size histograms
  • Response body size histograms
  • Response code counters
  • Database connection, execution, and error counters
  • Cache hit, miss, and invalidation counters
  • Django middleware latency histograms
  • Other Django related metadata metrics

For the exhaustive list of exposed metrics, visit the /metrics endpoint on your NetBox instance. See the documentation for more details on using Prometheus metrics in NetBox.

Changes

New Dependency: Redis

Redis is an in-memory data store similar to memcached. While Redis has been an optional component of NetBox since the introduction of webhooks in version 2.4, it is now required to support NetBox's new caching functionality (as well as other planned features). Redis can be installed via your platform's package manager: for example, sudo apt-get install redis-server on Ubuntu or sudo yum install redis on CentOS.

The Redis database is configured using a configuration setting similar to DATABASE in configuration.py:

REDIS = {
    'HOST': 'localhost',
    'PORT': 6379,
    'PASSWORD': '',
    'DATABASE': 0,
    'CACHE_DATABASE': 1,
    'DEFAULT_TIMEOUT': 300,
    'SSL': False,
}

Note that if you were using these settings in a prior release with webhooks, the DATABASE setting remains the same but an additional CACHE_DATABASE setting has been added with a default value of 1 to support the caching backend. The DATABASE setting will be renamed in a future release of NetBox to better relay the meaning of the setting. It is highly recommended to keep the webhook and cache databases seperate. Using the same database number for both may result in webhook processing data being lost during cache flushing events.

API Support for Specifying Related Objects by Attributes(#3077)

Previously, specifying a related object in an API request required knowing the primary key (integer ID) of that object. For example, when creating a new device, its rack would be specified as an integer:

{
    "name": "MyNewDevice",
    "rack": 123,
    ...
}

The NetBox API now also supports referencing related objects by a set of sufficiently unique attrbiutes. For example, a rack can be identified by its name and parent site:

{
    "name": "MyNewDevice",
    "rack": {
        "site": {
            "name": "Equinix DC6"
        },
        "name": "R204"
    },
    ...
}

There is no limit to the depth of nested references. Note that if the provided parameters do not return exactly one object, a validation error is raised.

API Device/VM Config Context Included by Default (#2350)

The rendered config context for devices and VMs is now included by default in all API results (list and detail views). Previously, the rendered config context was available only in the detail view for individual objects. Users with large amounts of context data may observe a performance drop when returning multiple objects. To combat this, in cases where the rendered config context is not needed, the query parameter ?exclude=config_context may be appended to the request URL to exclude the config context data from the API response.

Changes to Tag Permissions

NetBox now makes use of its own Tag model instead of the stock model which ships with django-taggit. This new model lives in the extras app and thus any permissions that you may have configured using "Taggit | Tag" should be changed to now use "Extras | Tag." Also note that the admin interface for tags has been removed as it was redundant to the functionality provided by the front end UI.

CORS_ORIGIN_WHITELIST Requires URI Scheme

If you have the CORS_ORIGIN_WHITELIST configuration parameter defined, note that each origin must now incldue a URI scheme. This change was introuced in django-cors-headers 3.0.

Enhancements

  • #166 - Add dns_name field to IPAddress
  • #524 - Added power utilization graphs to power feeds, devices, and racks
  • #1792 - Add CustomFieldChoices API endpoint at /api/extras/_custom_field_choices/
  • #1863 - Add child object counts to API representation of organizational objects
  • #2324 - Add color field for tags
  • #2643 - Add description field to console/power components and device bays
  • #2791 - Add comments field for tags
  • #2920 - Rename Interface form_factor to type (backward-compatible until v2.7)
  • #2926 - Add change logging to the Tag model
  • #3038 - OR logic now used when multiple values of a query filter are passed
  • #3264 - Annotate changelog retention time on UI

Bug Fixes

  • #2968 - Correct API documentation for SerializerMethodFields
  • #3176 - Add cable trace button for console server ports and power outlets
  • #3231 - Fixed cosmetic error indicating a missing schema migration
  • #3239 - Corrected count of tags reported via API

Bug Fixes From v2.6-beta1

  • #3123 - Exempt /metrics view from authentication
  • #3125 - Fix exception when viewing PDUs
  • #3126 - Incorrect calculation of PowerFeed available power
  • #3130 - Fix exception when creating a new power outlet
  • #3136 - Add power draw fields to power port creation form
  • #3137 - Add power_port and feed_leg fields to power outlet creation form
  • #3140 - Add bulk edit capability for power outlets and console server ports
  • #3204 - Fix interface filtering when connecting cables
  • #3207 - Fix link for connecting interface to rear port
  • #3258 - Exception raised when creating/viewing a circuit with a non-connected termination

API Changes

  • New API endpoints for power modeling: /api/dcim/power-panels/ and /api/dcim/power-feeds/
  • New API endpoint for custom field choices: /api/extras/_custom_field_choices/
  • ForeignKey fields now accept either the related object PK or a dictionary of attributes describing the related object.
  • Organizational objects now include child object counts. For example, the Role serializer includes prefix_count and vlan_count.
  • The id__in filter is now deprecated and will be removed in v2.7. (Begin using the ?id=1&id=2 format instead.)
  • Added a description field for all device components.
  • dcim.Device: The devices list endpoint now includes rendered context data.
  • dcim.DeviceType: instance_count has been renamed to device_count.
  • dcim.Interface: form_factor has been renamed to type. Backward compatibility for form_factor will be maintained until NetBox v2.7.
  • dcim.Interface: The type filter has been renamed to kind.
  • dcim.Site: The count_* read-only fields have been renamed to *_count for consistency with other objects.
  • dcim.Site: Added the virtualmachine_count read-only field.
  • extras.Tag: Added color and comments fields to the Tag serializer.
  • virtualization.VirtualMachine: The virtual machines list endpoint now includes rendered context data.

2.5.13 (2019-05-31)

Enhancements

  • #2813 - Add tenant group filters
  • #3085 - Catch all exceptions during export template rendering
  • #3138 - Add 2.5GE and 5GE interface form factors
  • #3151 - Add inventory item count to manufacturers list
  • #3156 - Add site link to rack reservations overview
  • #3183 - Enable bulk deletion of sites
  • #3185 - Improve performance for custom field access within templates
  • #3186 - Add interface name filter for IP addresses

Bug Fixes

  • #3031 - Fixed form field population of tags with spaces
  • #3132 - Circuit termination missing from available cable termination types
  • #3150 - Fix formatting of cable length during cable trace
  • #3184 - Correctly display color block for white cables
  • #3190 - Fix custom field rendering for Jinja2 export templates
  • #3211 - Fix error handling when attempting to delete a protected object via API
  • #3223 - Fix filtering devices by "has power outlets"
  • #3227 - Fix exception when deleting a circuit with a termination(s)
  • #3228 - Fixed login link retaining query parameters

2.5.12 (2019-05-01)

Bug Fixes

  • #3127 - Fix natural ordering of device components

2.5.11 (2019-04-29)

Notes

This release upgrades the Django framework to version 2.2.

Enhancements

  • #2986 - Improve natural ordering of device components
  • #3023 - Add support for filtering cables by connected device
  • #3070 - Add decommissioning status for devices

Bug Fixes

  • #2621 - Upgrade Django requirement to 2.2 to fix object deletion issue in the changelog middleware
  • #3072 - Preserve multiselect filter values when updating per-page count for list views
  • #3112 - Fix ordering of interface connections list by termination B name/device
  • #3116 - Fix tagged_items count in tags API endpoint
  • #3118 - Disable last_login update on login when maintenance mode is enabled

v2.5.10 (2019-04-08)

Enhancements

  • #3052 - Add Jinja2 support for export templates

Bug Fixes

  • #2937 - Redirect to list view after editing an object from list view
  • #3036 - DCIM interfaces API endpoint should not include VM interfaces
  • #3039 - Fix exception when retrieving change object for a component template via API
  • #3041 - Fix form widget for bulk cable label update
  • #3044 - Ignore site/rack fields when connecting a new cable via device search
  • #3046 - Fix exception at reports API endpoint
  • #3047 - Fix exception when writing mac address for an interface via API

v2.5.9 (2019-04-01)

Enhancements

  • #2933 - Add username to outbound webhook requests
  • #3011 - Add SSL support for django-rq (requires django-rq v1.3.1+)
  • #3025 - Add request ID to outbound webhook requests (for correlating all changes part of a single request)

Bug Fixes

  • #2207 - Fixes deterministic ordering of interfaces
  • #2577 - Clarification of wording in API regarding filtering
  • #2924 - Add interface type for QSFP28 50GE
  • #2936 - Fix device role selection showing duplicate first entry
  • #2998 - Limit device query to non-racked devices if no rack selected when creating a cable
  • #3001 - Fix API representation of ObjectChange action and add changed_object_type
  • #3014 - Fixes VM Role filtering
  • #3019 - Fix tag population when running NetBox within a path
  • #3022 - Add missing cable termination types to DCIM _choices endpoint
  • #3026 - Tweak prefix/IP filter forms to filter using VRF ID rather than route distinguisher
  • #3027 - Ignore empty local context data when rendering config contexts
  • #3032 - Save assigned tags when creating a new secret

v2.5.8 (2019-03-11)

Enhancements

  • #2435 - Printer friendly CSS

Bug Fixes

  • #2065 - Correct documentation for VM interface serializer
  • #2705 - Fix endpoint grouping in API docs
  • #2781 - Fix filtering of sites/devices/VMs by multiple regions
  • #2923 - Provider filter form's site field should be blank by default
  • #2938 - Enforce deterministic ordering of device components returned by API
  • #2939 - Exclude circuit terminations from API interface connections endpoint
  • #2940 - Allow CSV import of prefixes/IPs to VRF without an RD assigned
  • #2944 - Record the deletion of an IP address in the changelog of its parent interface (if any)
  • #2952 - Added the slug field to the Tenant filter for use in the API and search function
  • #2954 - Remove trailing slashes to fix root/template paths on Windows
  • #2961 - Prevent exception when exporting inventory items belonging to unnamed devices
  • #2962 - Increase ExportTemplate mime_type field length
  • #2966 - Accept null cable length_unit via API
  • #2972 - Improve ContentTypeField serializer to elegantly handle invalid data
  • #2976 - Add delete button to tag view
  • #2980 - Improve rendering time for API docs
  • #2982 - Correct CSS class assignment on color picker
  • #2984 - Fix logging of unlabeled cable ID on cable deletion
  • #2985 - Fix pagination page length for rack elevations

v2.5.7 (2019-02-21)

Enhancements

  • #2357 - Enable filtering of devices by rack face
  • #2638 - Add button to copy unlocked secret to clipboard
  • #2870 - Add Markdown rendering for provider NOC/admin contact fields
  • #2878 - Add cable types for OS1/OS2 singlemode fiber
  • #2890 - Add port types for APC fiber
  • #2898 - Enable filtering cables list by connection status
  • #2903 - Clarify purpose of tags field on interface edit form

Bug Fixes

  • #2852 - Allow filtering devices by null rack position
  • #2884 - Don't display connect button for wireless interfaces
  • #2888 - Correct foreground color of device roles in rack elevations
  • #2893 - Remove duplicate display of VRF RD on IP address view
  • #2895 - Fix filtering of nullable character fields
  • #2901 - Fix ordering regions by site count
  • #2910 - Fix config context list and edit forms to use Select2 elements
  • #2912 - Cable type in filter form should be blank by default
  • #2913 - Fix assigned prefixes link on VRF view
  • #2914 - Fix empty connected circuit link on device interfaces list
  • #2915 - Fix bulk editing of pass-through ports

v2.5.6 (2019-02-13)

Enhancements

  • #2758 - Add cable trace button to pass-through ports
  • #2839 - Add "110 punch" type for pass-through ports
  • #2854 - Enable bulk editing of pass-through ports
  • #2866 - Add cellular interface types (GSM/CDMA/LTE)

Bug Fixes

  • #2841 - Fix filtering by VRF for prefix and IP address lists
  • #2844 - Correct display of far cable end for pass-through ports
  • #2845 - Enable filtering of rack unit list by unit ID
  • #2856 - Fix navigation links between LAG interfaces and their members on device view
  • #2857 - Add display_name to DeviceType API serializer; fix DeviceType list for bulk device edit
  • #2862 - Follow return URL when connecting a cable
  • #2864 - Correct display of VRF name when no RD is assigned
  • #2877 - Fixed device role label display on light background color
  • #2880 - Sanitize user password if an exception is raised during login

v2.5.5 (2019-01-31)

Enhancements

  • #2805 - Allow null route distinguisher for VRFs
  • #2809 - Remove VRF child prefixes table; link to main prefixes view
  • #2825 - Include directly connected device for front/rear ports

Bug Fixes

  • #2824 - Fix template exception when viewing rack elevations list
  • #2833 - Fix form widget for front port template creation
  • #2835 - Fix certain model filters did not support the q query param
  • #2837 - Fix select2 nullable filter fields add multiple null_option elements when paging

v2.5.4 (2019-01-29)

Enhancements

  • #2516 - Implemented Select2 for all Model backed selection fields
  • #2590 - Implemented the color picker with Select2 to show colors in the background
  • #2733 - Enable bulk assignment of MAC addresses to interfaces
  • #2735 - Implemented Select2 for all list filter form select elements
  • #2753 - Implemented Select2 to replace most all instances of select fields in forms
  • #2766 - Extend users admin table to include superuser and active fields
  • #2782 - Add is_pool field for prefix filtering
  • #2807 - Include device site/rack assignment in cable trace view
  • #2808 - Loosen version pinning for Django to allow patch releases
  • #2810 - Include description fields in interface connections export

Bug Fixes

  • #2779 - Include "none" option when filter IP addresses by role
  • #2783 - Fix AttributeError exception when attempting to delete region(s)
  • #2795 - Fix duplicate display of pagination controls on child prefix/IP tables
  • #2798 - Properly URL-encode "map it" link on site view
  • #2802 - Better error handling for unsupported NAPALM methods
  • #2816 - Handle exception when deleting a device with connected components

v2.5.3 (2019-01-11)

Enhancements

  • #1630 - Enable bulk editing of prefix/IP mask length
  • #1870 - Add per-page toggle to object lists
  • #1871 - Enable filtering sites by parent region
  • #1983 - Enable regular expressions when bulk renaming device components
  • #2682 - Add DAC and AOC cable types
  • #2693 - Additional cable colors
  • #2726 - Include cables in global search

Bug Fixes

  • #2742 - Preserve cluster assignment when editing a device
  • #2757 - Always treat first/last IPs within a /31 or /127 as usable
  • #2762 - Add missing DCIM field values to API _choices endpoint
  • #2777 - Fix cable validation to handle duplicate connections on import

v2.5.2 (2018-12-21)

Enhancements

  • #2561 - Add 200G and 400G interface types
  • #2701 - Enable filtering of prefixes by exact prefix value

Bug Fixes

  • #2673 - Fix exception on LLDP neighbors view for device with a circuit connected
  • #2691 - Cable trace should follow circuits
  • #2698 - Remove pagination restriction on bulk component creation for devices/VMs
  • #2704 - Fix form select widget population on parent with null value
  • #2707 - Correct permission evaluation for circuit termination cabling
  • #2712 - Preserve list filtering after editing objects in bulk
  • #2717 - Fix bulk deletion of tags
  • #2721 - Detect loops when tracing front/rear ports
  • #2723 - Correct permission evaluation when bulk deleting tags
  • #2724 - Limit rear port choices to current device when editing a front port

v2.5.1 (2018-12-13)

Enhancements

  • #2655 - Add 128GFC Fibrechannel interface type
  • #2674 - Enable filtering changelog by object type under web UI

Bug Fixes

  • #2662 - Fix ImproperlyConfigured exception when rendering API docs
  • #2663 - Prevent duplicate interfaces from appearing under VLAN members view
  • #2666 - Correct display of length unit in cables list
  • #2676 - Fix exception when passing dictionary value to a ChoiceField
  • #2678 - Fix error when viewing webhook in admin UI without write permission
  • #2680 - Disallow POST requests to /dcim/interface-connections/ API endpoint
  • #2683 - Fix exception when connecting a cable to a RearPort with no corresponding FrontPort
  • #2684 - Fix custom field filtering
  • #2687 - Correct naming of before/after filters for changelog entries

v2.5.0 (2018-12-10)

Notes

Python 3 Required

As promised, Python 2 support has been completed removed. Python 3.5 or higher is now required to run NetBox. Please see our Python 3 migration guide for assistance with upgrading.

Removed Deprecated User Activity Log

The UserAction model, which was deprecated by the new change logging feature in NetBox v2.4, has been removed. If you need to archive legacy user activity, do so prior to upgrading to NetBox v2.5, as the database migration will remove all data associated with this model.

View Permissions in Django 2.1

Django 2.1 introduces view permissions for object types (not to be confused with object-level permissions). Implementation of #323 is planned for NetBox v2.6. Users are encourage to begin assigning view permissions as desired in preparation for their eventual enforcement.

upgrade.sh No Longer Invokes sudo

The upgrade.sh script has been tweaked so that it no longer invokes sudo internally. This was done to ensure compatibility when running NetBox inside a Python virtual environment. If you need elevated permissions when upgrading NetBox, call the upgrade script with sudo upgrade.sh.

New Features

Patch Panels and Cables (#20)

NetBox now supports modeling physical cables for console, power, and interface connections. The new pass-through port component type has also been introduced to model patch panels and similar devices.

Enhancements

  • #450 - Added outer_width and outer_depth fields to rack model
  • #867 - Added description field to circuit terminations
  • #1444 - Added an asset_tag field for racks
  • #1931 - Added a count of assigned IP addresses to the interface API serializer
  • #2000 - Dropped support for Python 2
  • #2053 - Introduced the LOGIN_TIMEOUT configuration setting
  • #2057 - Added description columns to interface connections list
  • #2104 - Added a status field for racks
  • #2165 - Improved natural ordering of Interfaces
  • #2292 - Removed the deprecated UserAction model
  • #2367 - Removed deprecated RPCClient functionality
  • #2426 - Introduced SESSION_FILE_PATH configuration setting for authentication without write access to database
  • #2594 - upgrade.sh no longer invokes sudo

Changes From v2.5-beta2

  • #2474 - Add cabled and connection_status filters for device components
  • #2616 - Convert Rack outer_unit and Cable length_unit to integer-based choice fields
  • #2622 - Enable filtering cables by multiple types/colors
  • #2624 - Delete associated content type and permissions when removing InterfaceConnection model
  • #2626 - Remove extraneous permissions generated from proxy models
  • #2632 - Change representation of null values from 0 to null
  • #2639 - Fix preservation of length/dimensions unit for racks and cables
  • #2648 - Include the connection_status field in nested represenations of connectable device components
  • #2649 - Add connected_endpoint_type to connectable device component API representations

API Changes

  • The /extras/recent-activity/ endpoint (replaced by change logging in v2.4) has been removed
  • The rpc_client field has been removed from dcim.Platform (see #2367)
  • Introduced a new API endpoint for cables at /dcim/cables/
  • New endpoints for front and rear pass-through ports (and their templates) in parallel with existing device components
  • The fields interface_connection on Interface and interface on CircuitTermination have been replaced with connected_endpoint and connection_status
  • A new cable field has been added to console, power, and interface components and to circuit terminations
  • New fields for dcim.Rack: status, asset_tag, outer_width, outer_depth, outer_unit
  • The following boolean filters on dcim.Device and dcim.DeviceType have been renamed:
    • is_console_server: console_server_ports
    • is_pdu: power_outlets
    • is_network_device: interfaces
  • The following new boolean filters have been introduced for dcim.Device and dcim.DeviceType:
    • console_ports
    • power_ports
    • pass_through_ports
  • The field interface_ordering has been removed from the DeviceType serializer
  • Added a description field to the CircuitTermination serializer
  • Added ipaddress_count to InterfaceSerializer to show the count of assigned IP addresses for each interface
  • The available-prefixes and available-ips IPAM endpoints now return an HTTP 204 response instead of HTTP 400 when no new objects can be created
  • Filtering on null values now uses the string null instead of zero

v2.4.9 (2018-12-07)

Enhancements

  • #2089 - Add SONET interface form factors
  • #2495 - Enable deep-merging of config context data
  • #2597 - Add FibreChannel SFP28 (32GFC) interface form factor

Bug Fixes

  • #2400 - Correct representation of nested object assignment in API docs
  • #2576 - Correct type for count_* fields in site API representation
  • #2606 - Fixed filtering for interfaces with a virtual form factor
  • #2611 - Fix error handling when assigning a clustered device to a different site
  • #2613 - Decrease live search minimum characters to three
  • #2615 - Tweak live search widget to use brief format for API requests
  • #2623 - Removed the need to pass the model class to the rqworker process for webhooks
  • #2634 - Enforce consistent representation of unnamed devices in rack view

v2.4.8 (2018-11-20)

Enhancements

  • #2490 - Added bulk editing for config contexts
  • #2557 - Added object view for tags

Bug Fixes

  • #2473 - Fix encoding of long (>127 character) secrets
  • #2558 - Filter on all tags when multiple are passed
  • #2565 - Improved rendering of Markdown tables
  • #2575 - Correct model specified for rack roles table
  • #2588 - Catch all exceptions from failed NAPALM API Calls
  • #2589 - Virtual machine API serializer should require cluster assignment

v2.4.7 (2018-11-06)

Enhancements

  • #2388 - Enable filtering of devices/VMs by region
  • #2427 - Allow filtering of interfaces by assigned VLAN or VLAN ID
  • #2512 - Add device field to inventory item filter form

Bug Fixes

  • #2502 - Allow duplicate VIPs inside a uniqueness-enforced VRF
  • #2514 - Prevent new connections to already connected interfaces
  • #2515 - Only use django-rq admin tmeplate if webhooks are enabled
  • #2528 - Enable creating circuit terminations with interface assignment via API
  • #2549 - Changed naming of peer_device and peer_interface on API /dcim/connected-device/ endpoint to use underscores

v2.4.6 (2018-10-05)

Enhancements

  • #2479 - Add user permissions for creating/modifying API tokens
  • #2487 - Return abbreviated API output when passed ?brief=1

Bug Fixes

  • #2393 - Fix Unicode support for CSV import under Python 2
  • #2483 - Set max item count of API-populated form fields to MAX_PAGE_SIZE
  • #2484 - Local config context not available on the Virtual Machine Edit Form
  • #2485 - Fix cancel button when assigning a service to a device/VM
  • #2491 - Fix exception when importing devices with invalid device type
  • #2492 - Sanitize hostname and port values returned through LLDP

v2.4.5 (2018-10-02)

Enhancements

  • #2392 - Implemented local context data for devices and virtual machines
  • #2402 - Order and format JSON data in form fields
  • #2432 - Link remote interface connections to the Interface view
  • #2438 - API optimizations for tagged objects

Bug Fixes

  • #2406 - Remove hard-coded limit of 1000 objects from API-populated form fields
  • #2414 - Tags field missing from device/VM component creation forms
  • #2442 - Nullify "next" link in API when limit=0 is passed
  • #2443 - Enforce JSON object format when creating config contexts
  • #2444 - Improve validation of interface MAC addresses
  • #2455 - Ignore unique address enforcement for IPs with a shared/virtual role
  • #2470 - Log the creation of device/VM components as object changes

v2.4.4 (2018-08-22)

Enhancements

  • #2168 - Added Extreme SummitStack interface form factors
  • #2356 - Include cluster site as read-only field in VirtualMachine serializer
  • #2362 - Implemented custom admin site to properly handle BASE_PATH
  • #2254 - Implemented searchability for Rack Groups

Bug Fixes

  • #2353 - Handle DoesNotExist exception when deleting a device with connected interfaces
  • #2354 - Increased maximum MTU for interfaces to 65536 bytes
  • #2355 - Added item count to inventory tab on device view
  • #2368 - Record change in device changelog when altering cluster assignment
  • #2369 - Corrected time zone validation on site API serializer
  • #2370 - Redirect to parent device after deleting device bays
  • #2374 - Fix toggling display of IP addresses in virtual machine interfaces list
  • #2378 - Corrected "edit" link for virtual machine interfaces

v2.4.3 (2018-08-09)

Enhancements

  • #2333 - Added search filters for ConfigContexts

Bug Fixes

  • #2334 - TypeError raised when WritableNestedSerializer receives a non-integer value
  • #2335 - API requires group field when creating/updating a rack
  • #2336 - Bulk deleting power outlets and console server ports from a device redirects to home page
  • #2337 - Attempting to create the next available prefix within a parent assigned to a VRF raises an AssertionError
  • #2340 - API requires manufacturer field when creating/updating an inventory item
  • #2342 - IntegrityError raised when attempting to assign an invalid IP address as the primary for a VM
  • #2344 - AttributeError when assigning VLANs to an interface on a device/VM not assigned to a site

v2.4.2 (2018-08-08)

Bug Fixes

  • #2318 - ImportError when viewing a report
  • #2319 - Extend ChoiceField to properly handle true/false choice keys
  • #2320 - TypeError when dispatching a webhook with a secret key configured
  • #2321 - Allow explicitly setting a null value on nullable ChoiceFields
  • #2322 - Webhooks firing on non-enabled event types
  • #2323 - DoesNotExist raised when deleting devices or virtual machines
  • #2330 - Incorrect tab link in VRF changelog view

v2.4.1 (2018-08-07)

Bug Fixes

  • #2303 - Always redirect to parent object when bulk editing/deleting components
  • #2308 - Custom fields panel absent from object view in UI
  • #2310 - False validation error on certain nested serializers
  • #2311 - Redirect to parent after editing interface from device/VM view
  • #2312 - Running a report yields a ValueError exception
  • #2314 - Serialized representation of object in change log does not include assigned tags

v2.4.0 (2018-08-06)

New Features

Webhooks (#81)

Webhooks enable NetBox to send a representation of an object every time one is created, updated, or deleted. Webhooks are sent from NetBox to external services via HTTP, and can be limited by object type. Services which receive a webhook can act on the data provided by NetBox to automate other tasks.

Special thanks to John Anderson for doing the heavy lifting for this feature!

Tagging (#132)

Tags are free-form labels which can be assigned to a variety of objects in NetBox. Tags can be used to categorize and filter objects in addition to built-in and custom fields. Objects to which tags apply now include a tags field in the API.

Contextual Configuration Data (#1349)

Sometimes it is desirable to associate arbitrary data with a group of devices to aid in their configuration. (For example, you might want to associate a set of syslog servers for all devices at a particular site.) Context data enables the association of arbitrary data (expressed in JSON format) to devices and virtual machines grouped by region, site, role, platform, and/or tenancy. Context data is arranged hierarchically, so that data with a higher weight can be entered to override more general lower-weight data. Multiple instances of data are automatically merged by NetBox to present a single dictionary for each object.

Change Logging (#1898)

When an object is created, updated, or deleted, NetBox now automatically records a serialized representation of that object (similar to how it appears in the REST API) as well the event time and user account associated with the change.

Enhancements

  • #238 - Allow racks with the same name within a site (but in different groups)
  • #971 - Add a view to show all VLAN IDs available within a group
  • #1673 - Added object/list views for services
  • #1687 - Enabled custom fields for services
  • #1739 - Enabled custom fields for secrets
  • #1794 - Improved POST/PATCH representation of nested objects
  • #2029 - Added optional NAPALM arguments to Platform model
  • #2034 - Include the ID when showing nested interface connections (API change)
  • #2118 - Added latitude and longitude fields to Site for GPS coordinates
  • #2131 - Added created and last_updated fields to DeviceType
  • #2157 - Fixed natural ordering of objects when sorted by name
  • #2225 - Add "view elevations" button for site rack groups

Bug Fixes

  • #2272 - Allow subdevice_role to be null on DeviceTypeSerializer"
  • #2286 - Fixed "mark connected" button for PDU outlet connections

API Changes

  • Introduced the /extras/config-contexts/, /extras/object-changes/, and /extras/tags/ API endpoints
  • API writes now return a nested representation of related objects (rather than only a numeric ID)
  • The dcim.DeviceType serializer now includes created and last_updated fields
  • The dcim.Site serializer now includes latitude and longitude fields
  • The ipam.Service and secrets.Secret serializers now include custom fields
  • The dcim.Platform serializer now includes a free-form (JSON) napalm_args field

Changes Since v2.4-beta1

Enhancements

  • #2229 - Allow mapping of ConfigContexts to tenant groups
  • #2259 - Add changelog tab to interface view
  • #2264 - Added "map it" link for site GPS coordinates

Bug Fixes

  • #2137 - Fixed JSON serialization of dates
  • #2258 - Include changed object type on home page changelog
  • #2265 - Include parent regions when filtering applicable ConfigContexts
  • #2288 - Fix exception when assigning objects to a ConfigContext via the API
  • #2296 - Fix AttributeError when creating a new object with tags assigned
  • #2300 - Fix assignment of an interface to an IP address via API PATCH
  • #2301 - Fix model validation on assignment of ManyToMany fields via API PATCH
  • #2305 - Make VLAN fields optional when creating a VM interface via the API

v2.3.7 (2018-07-26)

Enhancements

  • #2166 - Enable partial matching on device asset_tag during search

Bug Fixes

  • #1977 - Fixed exception when creating a virtual chassis with a non-master device in position 1
  • #1992 - Isolate errors when one of multiple NAPALM methods fails
  • #2202 - Ditched half-baked concept of tenancy inheritance via VRF
  • #2222 - IP addresses created via the available-ips API endpoint should have the same mask as their parent prefix (not /32)
  • #2231 - Remove get_absolute_url() from DeviceRole (can apply to devices or VMs)
  • #2250 - Include stat counters on report result navigation
  • #2255 - Corrected display of results in reports list
  • #2256 - Prevent navigation menu overlap when jumping to test results on report page
  • #2257 - Corrected casting of RIR utilization stats as floats
  • #2266 - Permit additional logging of exceptions beyond custom middleware

v2.3.6 (2018-07-16)

Enhancements

  • #2107 - Added virtual chassis to global search
  • #2125 - Show child status in device bay list

Bug Fixes

  • #2214 - Error when assigning a VLAN to an interface on a VM in a cluster with no assigned site
  • #2239 - Pin django-filter to version 1.1.0

v2.3.5 (2018-07-02)

Enhancements

  • #2159 - Allow custom choice field to specify a default choice
  • #2177 - Include device serial number in rack elevation pop-up
  • #2194 - Added address filter to IPAddress model

Bug Fixes

  • #1826 - Corrected description of security parameters under API definition
  • #2021 - Fix recursion error when viewing API docs under Python 3.4
  • #2064 - Disable calls to online swagger validator
  • #2173 - Fixed IndexError when automatically allocating IP addresses from large IPv6 prefixes
  • #2181 - Raise validation error on invalid prefix_length when allocating next-available prefix
  • #2182 - ValueError can be raised when viewing the interface connections table
  • #2191 - Added missing static choices to circuits and DCIM API endpoints
  • #2192 - Prevent a 0U device from being assigned to a rack position

v2.3.4 (2018-06-07)

Bug Fixes

  • #2066 - Catch AddrFormatError exception on invalid IP addresses
  • #2075 - Enable tenant assignment when creating a rack reservation via the API
  • #2083 - Add missing export button to rack roles list view
  • #2087 - Don't overwrite existing vc_position of master device when creating a virtual chassis
  • #2093 - Fix link to circuit termination in device interfaces table
  • #2097 - Fixed queryset-based bulk deletion of clusters and regions
  • #2098 - Fixed missing checkboxes for host devices in cluster view
  • #2127 - Prevent non-conntectable interfaces from being connected
  • #2143 - Accept null value for empty time zone field
  • #2148 - Do not force timezone selection when editing sites in bulk
  • #2150 - Fix display of LLDP neighbors when interface name contains a colon

v2.3.3 (2018-04-19)

Enhancements

  • #1990 - Improved search function when assigning an IP address to an interface

Bug Fixes

  • #1975 - Correct filtering logic for custom boolean fields
  • #1988 - Order interfaces naturally when bulk renaming
  • #1993 - Corrected status choices in site CSV import form
  • #1999 - Added missing description field to site edit form
  • #2012 - Fixed deselection of an IP address as the primary IP for its parent device/VM
  • #2014 - Allow assignment of VLANs to VM interfaces via the API
  • #2019 - Avoid casting oversized numbers as integers
  • #2022 - Show 0 for zero-value fields on CSV export
  • #2023 - Manufacturer should not be a required field when importing platforms
  • #2037 - Fixed IndexError exception when attempting to create a new rack reservation

v2.3.2 (2018-03-22)

Enhancements

  • #1586 - Extend bulk interface creation to support alphanumeric characters
  • #1866 - Introduced AnnotatedMultipleChoiceField for filter forms
  • #1930 - Switched to drf-yasg for Swagger API documentation
  • #1944 - Enable assigning VLANs to virtual machine interfaces
  • #1945 - Implemented a VLAN members view
  • #1949 - Added a button to view elevations on rack groups list
  • #1952 - Implemented a more robust mechanism for assigning VLANs to interfaces

Bug Fixes

  • #1948 - Fix TypeError when attempting to add a member to an existing virtual chassis
  • #1951 - Fix TypeError exception when importing platforms
  • #1953 - Ignore duplicate IPs when calculating prefix utilization
  • #1955 - Require a plaintext value when creating a new secret
  • #1978 - Include all virtual chassis member interfaces in LLDP neighbors view
  • #1980 - Fixed bug when trying to nullify a selection custom field under Python 2

v2.3.1 (2018-03-01)

Enhancements

  • #1910 - Added filters for cluster group and cluster type

Bug Fixes

  • #1915 - Redirect to device view after deleting a component
  • #1919 - Prevent exception when attempting to create a virtual machine without selecting devices
  • #1921 - Ignore ManyToManyFields when validating a new object created via the API
  • #1924 - Include VID in VLAN lists when editing an interface
  • #1926 - Prevent reassignment of parent device when bulk editing VC member interfaces
  • #1927 - Include all VC member interfaces on A side when creating a new interface connection
  • #1928 - Fixed form validation when modifying VLANs assigned to an interface
  • #1934 - Fixed exception when rendering export template on an object type with custom fields assigned
  • #1935 - Correct API validation of VLANs assigned to interfaces
  • #1936 - Trigger validation error when attempting to create a virtual chassis without specifying member positions

v2.3.0 (2018-02-26)

New Features

Virtual Chassis (#99)

A virtual chassis represents a set of physical devices with a shared control plane; for example, a stack of switches managed as a single device. Viewing the master device of a virtual chassis will show all member interfaces and IP addresses.

Interface VLAN Assignments (#150)

Interfaces can now be assigned an 802.1Q mode (access or trunked) and associated with particular VLANs. Thanks to John Anderson for his work on this!

Bulk Object Creation via the API (#1553)

The REST API now supports the creation of multiple objects of the same type using a single POST request. For example, to create multiple devices:

curl -X POST -H "Authorization: Token <TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json; indent=4" http://localhost:8000/api/dcim/devices/ --data '[
{"name": "device1", "device_type": 24, "device_role": 17, "site": 6},
{"name": "device2", "device_type": 24, "device_role": 17, "site": 6},
{"name": "device3", "device_type": 24, "device_role": 17, "site": 6},
]'

Bulk creation is all-or-none: If any of the creations fails, the entire operation is rolled back.

Automatic Provisioning of Next Available Prefixes (#1694)

Similar to IP addresses, NetBox now supports automated provisioning of available prefixes from within a parent prefix. For example, to retrieve the next three available /28s within a parent /24:

curl -X POST -H "Authorization: Token <TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json; indent=4" http://localhost:8000/api/ipam/prefixes/10153/available-prefixes/ --data '[
{"prefix_length": 28},
{"prefix_length": 28},
{"prefix_length": 28}
]'

If the parent prefix cannot accommodate all requested prefixes, the operation is cancelled and no new prefixes are created.

Bulk Renaming of Device/VM Components (#1781)

Device components (interfaces, console ports, etc.) can now be renamed in bulk via the web interface. This was implemented primarily to support the bulk renumbering of interfaces whose parent is part of a virtual chassis.

Enhancements

  • #1283 - Added a time_zone field to the site model
  • #1321 - Added created and last_updated fields for relevant models to their API serializers
  • #1553 - Introduced support for bulk object creation via the API
  • #1592 - Added tenancy assignment for rack reservations
  • #1744 - Allow associating a platform with a specific manufacturer
  • #1758 - Added a status field to the site model
  • #1821 - Added a description field to the site model
  • #1864 - Added a status field to the circuit model

Bug Fixes

  • #1136 - Enforce model validation during bulk update
  • #1645 - Simplified interface serialzier for IP addresses and optimized API view queryset
  • #1838 - Fix KeyError when attempting to create a VirtualChassis with no devices selected
  • #1847 - RecursionError when a virtual chasis master device has no name
  • #1848 - Allow null value for interface encapsulation mode
  • #1867 - Allow filtering on device status with multiple values
  • #1881* - Fixed bulk editing of interface 802.1Q settings
  • #1884* - Provide additional context to identify devices when creating/editing a virtual chassis
  • #1907 - Allow removing an IP as the primary for a device when editing the IP directly

* New since v2.3-beta2

Breaking Changes

  • Constants representing device status have been renamed for clarity (for example, STATUS_ACTIVE is now DEVICE_STATUS_ACTIVE). Custom validation reports will need to be updated if they reference any of these constants.

API Changes

  • API creation calls now accept either a single JSON object or a list of JSON objects. If multiple objects are passed and one or more them fail validation, no objects will be created.
  • Added created and last_updated fields for objects inheriting from CreatedUpdatedModel.
  • Removed the parent filter for prefixes (use within or within_include instead).
  • The IP address serializer now includes only a minimal nested representation of the assigned interface (if any) and its parent device or virtual machine.
  • The rack reservation serializer now includes a nested representation of its owning user (as well as the assigned tenant, if any).
  • Added endpoints for virtual chassis and VC memberships.
  • Added status, time_zone (pytz format), and description fields to dcim.Site.
  • Added a manufacturer foreign key field on dcim.Platform.
  • Added a status field on circuits.Circuit.

v2.2.10 (2018-02-21)

Enhancements

  • #78 - Extended topology maps to support console and power connections
  • #1693 - Allow specifying loose or exact matching for custom field filters
  • #1714 - Standardized CSV export functionality for all object lists
  • #1876 - Added explanatory title text to disabled NAPALM buttons on device view
  • #1885 - Added a device filter field for primary IP

Bug Fixes

  • #1858 - Include device/VM count for cluster list in global search results
  • #1859 - Implemented support for line breaks within CSV fields
  • #1860 - Do not populate initial values for custom fields when editing objects in bulk
  • #1869 - Corrected ordering of VRFs with duplicate names
  • #1886 - Allow setting the primary IPv4/v6 address for a virtual machine via the web UI

v2.2.9 (2018-01-31)

Enhancements

  • #144 - Implemented bulk import/edit/delete views for InventoryItems
  • #1073 - Include prefixes/IPs from all VRFs when viewing the children of a container prefix in the global table
  • #1366 - Enable searching for regions by name/slug
  • #1406 - Display tenant description as title text in object tables
  • #1824 - Add virtual machine count to platforms list
  • #1835 - Consistent positioning of previous/next rack buttons

Bug Fixes

  • #1621 - Tweaked LLDP interface name evaluation logic
  • #1765 - Improved rendering of null options for model choice fields in filter forms
  • #1807 - Populate VRF from parent when creating a new prefix
  • #1809 - Populate tenant assignment from parent when creating a new prefix
  • #1818 - InventoryItem API serializer no longer requires specifying a null value for items with no parent
  • #1845 - Correct display of VMs in list with no role assigned
  • #1850 - Fix TypeError when attempting IP address import if only unnamed devices exist

v2.2.8 (2017-12-20)

Enhancements

  • #1771 - Added name filter for racks
  • #1772 - Added position filter for devices
  • #1773 - Moved child prefixes table to its own view
  • #1774 - Include a button to refine search results for all object types under global search
  • #1784 - Added cluster_type filters for virtual machines

Bug Fixes

  • #1766 - Fixed display of "select all" button on device power outlets list
  • #1767 - Use proper template for 404 responses
  • #1778 - Preserve initial VRF assignment when adding IP addresses in bulk from a prefix
  • #1783 - Added vm_role filter for device roles
  • #1785 - Omit filter forms from browsable API
  • #1787 - Added missing site field to virtualization cluster CSV export

v2.2.7 (2017-12-07)

Enhancements

  • #1722 - Added virtual machine count to site view
  • #1737 - Added a contains API filter to find all prefixes containing a given IP or prefix

Bug Fixes

  • #1712 - Corrected tenant inheritance for new IP addresses created from a parent prefix
  • #1721 - Differentiated child IP count from utilization percentage for prefixes
  • #1740 - Delete session_key cookie on logout
  • #1741 - Fixed Unicode support for secret plaintexts
  • #1743 - Include number of instances for device types in global search
  • #1751 - Corrected filtering for IPv6 addresses containing letters
  • #1756 - Improved natural ordering of console server ports and power outlets

v2.2.6 (2017-11-16)

Enhancements

  • #1669 - Clicking "add an IP" from the prefix view will default to the first available IP within the prefix

Bug Fixes

  • #1397 - Display global search in navigation menu unless display is less than 1200px wide
  • #1599 - Reduce mobile cut-off for navigation menu to 960px
  • #1715 - Added missing import buttons on object lists
  • #1717 - Fixed interface validation for virtual machines
  • #1718 - Set empty label to "Global" or VRF field in IP assignment form

v2.2.5 (2017-11-14)

Enhancements

  • #1512 - Added a view to search for an IP address being assigned to an interface
  • #1679 - Added IP address roles to device/VM interface lists
  • #1683 - Replaced default 500 handler with custom middleware to provide preliminary troubleshooting assistance
  • #1684 - Replaced prefix parent filter with within and within_include

Bug Fixes

  • #1471 - Correct bulk selection of IP addresses within a prefix assigned to a VRF
  • #1642 - Validate device type classification when creating console server ports and power outlets
  • #1650 - Correct numeric ordering for interfaces with no alphabetic type
  • #1676 - Correct filtering of child prefixes upon bulk edit/delete from the parent prefix view
  • #1689 - Disregard IP address mask when filtering for child IPs of a prefix
  • #1696 - Fix for NAPALM v2.0+
  • #1699 - Correct nested representation in the API of primary IPs for virtual machines and add missing primary_ip property
  • #1701 - Fixed validation in extras/0008_reports.py migration for certain versions of PostgreSQL
  • #1703 - Added API serializer validation for custom integer fields
  • #1705 - Fixed filtering of devices with a status of offline

v2.2.4 (2017-10-31)

Bug Fixes

  • #1670 - Fixed server error when calling certain filters (regression from #1649)

v2.2.3 (2017-10-31)

Enhancements

  • #999 - Display devices on which circuits are terminated in circuits list
  • #1491 - Added initial data for the virtualization app
  • #1620 - Loosen IP address search filter to match all IPs that start with the given string
  • #1631 - Added a post_run method to the Report class
  • #1666 - Allow modifying the owner of a rack reservation

Bug Fixes

  • #1513 - Correct filtering of custom field choices
  • #1603 - Hide selection checkboxes for tables with no available actions
  • #1618 - Allow bulk deletion of all virtual machines
  • #1619 - Correct text-based filtering of IP network and address fields
  • #1624 - Add VM count to device roles table
  • #1634 - Cluster should not be a required field when importing child devices
  • #1649 - Correct filtering on null values (e.g. ?tenant_id=0) for django-filters v1.1.0+
  • #1653 - Remove outdated description for DeviceType's is_network_device flag
  • #1664 - Added missing serial field in default rack CSV export

v2.2.2 (2017-10-17)

Enhancements

  • #1580 - Allow cluster assignment when bulk importing devices
  • #1587 - Add primary IP column for virtual machines in global search results

Bug Fixes

  • #1498 - Avoid duplicating nodes when generating topology maps
  • #1579 - Devices already assigned to a cluster cannot be added to a different cluster
  • #1582 - Add virtual_machine attribute to IPAddress
  • #1584 - Colorized virtual machine role column
  • #1585 - Fixed slug-based filtering of virtual machines
  • #1605 - Added clusters and virtual machines to object list for global search
  • #1609 - Added missing virtual_machine field to IP address interface serializer

v2.2.1 (2017-10-12)

Bug Fixes

  • #1576 - Moved PostgreSQL validation logic into the relevant migration (fixed ImproperlyConfigured exception on init)

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 and dcim.Interface models now have a virtual_machine field in addition to the device field. Only one of the two fields may be defined for each object
  • Added a vm_role field to dcim.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)

v2.1.6 (2017-10-11)

Enhancements

  • #1548 - Automatically populate tenant assignment when adding an IP address from the prefix view
  • #1561 - Added primary IP to the devices table in global search
  • #1563 - Made necessary updates for Django REST Framework v3.7.0

v2.1.5 (2017-09-25)

Enhancements

  • #1484 - Added individual "add VLAN" buttons on the VLAN groups list
  • #1485 - Added BANNER_LOGIN configuration setting to display a banner on the login page
  • #1499 - Added utilization graph to child prefixes table
  • #1523 - Improved the natural ordering of interfaces (thanks to @tarkatronic)
  • #1536 - Improved formatting of aggregate prefix statistics

Bug Fixes

  • #1469 - Allow a NAT IP to be assigned as the primary IP for a device
  • #1472 - Prevented truncation when displaying secret strings containing HTML characters
  • #1486 - Ignore subinterface IDs when validating LLDP neighbor connections
  • #1489 - Corrected server error on validation of empty required custom field
  • #1507 - Fixed error when creating the next available IP from a prefix within a VRF
  • #1520 - Redirect on GET request to bulk edit/delete views
  • #1522 - Removed object create/edit forms from the browsable API

v2.1.4 (2017-08-30)

Enhancements

  • #1326 - Added dropdown widget with common values for circuit speed fields
  • #1341 - Added a MEDIA_ROOT configuration setting to specify where uploaded files are stored on disk
  • #1376 - Ignore anycast addresses when detecting duplicate IPs
  • #1402 - Increased max length of name field for device components
  • #1431 - Added interface form factor for 10GBASE-CX4
  • #1432 - Added a commit_rate field to the circuits list search form
  • #1460 - Hostnames with no domain are now acceptable in custom URL fields

Bug Fixes

  • #1429 - Fixed uptime formatting on device status page
  • #1433 - Fixed devicetype_id filter for DeviceType components
  • #1443 - Fixed API validation error involving custom field data
  • #1458 - Corrected permission name on prefix/VLAN roles list

v2.1.3 (2017-08-15)

Bug Fixes

  • #1330 - Raise validation error when assigning an unrelated IP as the primary IP for a device
  • #1389 - Avoid splitting carat/prefix on prefix list
  • #1400 - Removed redundant display of assigned device interface from IP address list
  • #1414 - Selecting a site from the rack filters automatically updates the available rack groups
  • #1419 - Allow editing image attachments without re-uploading an image
  • #1420 - Exclude virtual interfaces from device LLDP neighbors view
  • #1421 - Improved model validation logic for API serializers
  • Fixed page title capitalization in the browsable API

v2.1.2 (2017-08-04)

Enhancements

  • #992 - Allow the creation of multiple services per device with the same protocol and port
  • Tweaked navigation menu styling

Bug Fixes

  • #1388 - Fixed server error when searching globally for IPs/prefixes (rolled back #1379)
  • #1390 - Fixed IndexError when viewing available IPs within large IPv6 prefixes

v2.1.1 (2017-08-02)

Enhancements

  • #893 - Allow filtering by null values for NullCharacterFields (e.g. return only unnamed devices)
  • #1368 - Render reservations in rack elevations view
  • #1374 - Added NAPALM_ARGS and NAPALM_TIMEOUT configiuration parameters
  • #1375 - Renamed NETBOX_USERNAME and NETBOX_PASSWORD configuration parameters to NAPALM_USERNAME and NAPALM_PASSWORD
  • #1379 - Allow searching devices by interface MAC address in global search

Bug Fixes

  • #461 - Display a validation error when attempting to assigning a new child device to a rack face/position
  • #1385 - Connected device API endpoint no longer requires authentication if LOGIN_REQUIRED is False

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) and mtu (unsigned integer)
  • Modified the interface serializer to include three discrete fields relating to connections: is_connected (boolean), interface_connection, and circuit_termination
  • Added two new fields to the inventory item serializer: asset_tag and description
  • 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 the url and display_name of the parent Device, and the url 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)

Bug Fixes

  • #1319 - Fixed server error when attempting to create console/power connections
  • #1325 - Retain interface attachment when editing a circuit termination

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

v2.0.2 (2017-05-15)

Enhancements

  • #1122 - Include NAT inside IPs in IP address list
  • #1137 - Allow filtering devices list by rack
  • #1170 - Include A and Z sites for circuits in global search results
  • #1172 - Linkify racks in side-by-side elevations view
  • #1177 - Render planned connections as dashed lines on topology maps
  • #1179 - Adjust topology map text color based on node background
  • On all object edit forms, allow filtering the tenant list by tenant group

Bug Fixes

  • #1158 - Exception thrown when creating a device component with an invalid name
  • #1159 - Only superusers can see "edit IP" buttons on the device interfaces list
  • #1160 - Linkify secrets and tenants in global search results
  • #1161 - Fix "add another" behavior when creating an API token
  • #1166 - Fixed bulk IP address creation when assigning tenants
  • #1168 - Total count of objects missing from list view paginator
  • #1171 - Allow removing site assignment when bulk editing VLANs
  • #1173 - Tweak interface manager to fall back to naive ordering

v2.0.1 (2017-05-10)

Bug Fixes

  • #1149 - Port list does not populate when creating a console or power connection
  • #1150 - Error when uploading image attachments with Unicode names under Python 2
  • #1151 - Server error: name 'escape' is not defined
  • #1152 - Unable to edit user keys
  • #1153 - UnicodeEncodeError when searching for non-ASCII characters on Python 2

v2.0.0 (2017-05-09)

New Features

API 2.0 (#113)

The NetBox API has been completely rewritten and now features full read/write ability.

Image Attachments (#152)

Users are now able to attach photos and other images to sites, racks, and devices. (Please ensure that the new media directory is writable by the system account NetBox runs as.)

Global Search (#159)

NetBox now supports searching across all primary object types at once.

Rack Elevations View (#951)

A new view has been introduced to display the elevations of multiple racks side-by-side.

Enhancements

  • #154 - Expanded device status field to include options other than active/offline
  • #430 - Include circuits when rendering topology maps
  • #578 - Show topology maps not assigned to a site on the home view
  • #1100 - Add a "view all" link to completed bulk import views is_pool for prefixes)
  • #1110 - Expand bulk edit forms to include boolean fields (e.g. toggle is_pool for prefixes)

Bug Fixes

From v1.9.6:

  • #403 - Record console/power/interface connects and disconnects as user actions
  • #853 - Added "status" field to device bulk import form
  • #1101 - Fix AJAX scripting for device component selection forms
  • #1103 - Correct handling of validation errors when creating IP addresses in bulk
  • #1104 - Fix VLAN assignment on prefix import
  • #1115 - Enabled responsive (side-scrolling) tables for small screens
  • #1116 - Correct object links on recursive deletion error
  • #1125 - Include MAC addresses on a device's interface list
  • #1144 - Allow multiple status selections for Prefix, IP address, and VLAN filters

From beta3:

  • #1113 - Fixed server error when attempting to delete an image attachment
  • #1114 - Suppress OSError when attempting to access a deleted image attachment
  • #1126 - Fixed server error when editing a user key via admin UI attachment
  • #1132 - Prompt user to unlock session key when importing secrets

Additional Changes

  • The Module DCIM model has been renamed to InventoryItem to better reflect its intended function, and to make room for work on #824.
  • Redundant portions of the admin UI have been removed (#973).
  • The Docker build components have been moved into their own repository.

v1.9.6 (2017-04-21)

Improvements

  • #878 - Merged IP addresses with interfaces list on device view
  • #1001 - Interface assignment can be modified when editing an IP address
  • #1084 - Include custom fields when creating IP addresses in bulk

Bug Fixes

  • #1057 - Corrected VLAN validation during prefix import
  • #1061 - Fixed potential for script injection via create/edit/delete messages
  • #1070 - Corrected installation instructions for Python3 on CentOS/RHEL
  • #1071 - Protect assigned circuit termination when an interface is deleted
  • #1072 - Order LAG interfaces naturally on bulk interface edit form
  • #1074 - Require ncclient 0.5.3 (Python 3 fix)
  • #1090 - Improved installation documentation for Python 3
  • #1092 - Increase randomness in SECRET_KEY generation tool

v1.9.5 (2017-04-06)

Improvements

  • #1052 - Added rack reservation list and bulk delete views

Bug Fixes

  • #1038 - Suppress upgrading to Django 1.11 (will be supported in v2.0)
  • #1037 - Fixed error on VLAN import with duplicate VLAN group names
  • #1047 - Correct ordering of numbered subinterfaces
  • #1051 - Upgraded django-rest-swagger

v1.9.4-r1 (2017-04-04)

Improvements

  • #362 - Added per_page query parameter to control pagination page length

Bug Fixes

  • #991 - Correct server error on "create and connect another" interface connection
  • #1022 - Record user actions when creating IP addresses in bulk
  • #1027 - Fixed nav menu highlighting when BASE_PATH is set
  • #1034 - Added migration missing from v1.9.4 release

v1.9.3 (2017-03-23)

Improvements

  • #972 - Add ability to filter connections list by device name
  • #974 - Added MAC address filter to API interfaces list
  • #978 - Allow filtering device types by function and subdevice role
  • #981 - Allow filtering primary objects by a given set of IDs
  • #983 - Include peer device names when listing circuits in device view

Bug Fixes

  • #967 - Fix error when assigning a new interface to a LAG

v1.9.2 (2017-03-14)

Bug Fixes

  • #950 - Fix site_id error on child device import
  • #956 - Correct bug affecting unnamed rackless devices
  • #957 - Correct device site filter count to include unracked devices
  • #963 - Fix bug in IPv6 address range expansion
  • #964 - Fix bug when bulk editing/deleting filtered set of objects

v1.9.1 (2017-03-08)

Improvements

  • #945 - Display the current user in the navigation menu
  • #946 - Disregard mask length when filtering IP addresses by a parent prefix

Bug Fixes

  • #941 - Corrected old references to rack.site on Device
  • #943 - Child prefixes missing on Python 3
  • #944 - Corrected console and power connection form behavior
  • #948 - Region name should be hyperlinked to site list

v1.9.0-r1 (2017-03-03)

New Features

Rack Reservations (#36)

Users can now reserve an arbitrary number of units within a rack, adding a comment noting their intentions. Reservations do not interfere with installed devices: It is possible to reserve a unit for future use even if it is currently occupied by a device.

Interface Groups (#105)

A new Link Aggregation Group (LAG) virtual form factor has been added. Physical interfaces can be assigned to a parent LAG interface to represent a port-channel or similar logical bundling of links.

Regions (#164)

A new region model has been introduced to allow for the geographic organization of sites. Regions can be nested recursively to form a hierarchy.

Rackless Devices (#198)

Previous releases required each device to be assigned to a particular rack within a site. This requirement has been relaxed so that devices must only be assigned to a site, and may optionally be assigned to a rack.

Global VLANs (#235)

Assignment of VLANs and VLAN groups to sites is now optional, allowing for the representation of a VLAN spanning multiple sites.

Improvements

  • #862 - Show both IPv6 and IPv4 primary IPs in device list
  • #894 - Expand device name max length to 64 characters
  • #898 - Expanded circuits list in provider view rack face
  • #901 - Support for filtering prefixes and IP addresses by mask length

Bug Fixes

  • #872 - Fixed TypeError on bulk IP address creation (Python 3)
  • #884 - Preserve selected rack unit when changing a device's rack face
  • #892 - Restored missing edit/delete buttons when viewing child prefixes and IP addresses from a parent object
  • #897 - Fixed power connections CSV export
  • #903 - Only alert on missing critical connections if present in the parent device type
  • #935 - Fix form validation error when connecting an interface using live search
  • #937 - Region assignment should be optional when creating a site
  • #938 - Provider view yields an error if one or more circuits is assigned to a tenant

v1.8.4 (2017-02-03)

Improvements

  • #856 - Strip whitespace from fields during CSV import

Bug Fixes

  • #851 - Resolve encoding issues during import/export (Python 3)
  • #854 - Correct processing of get_return_url() in ObjectDeleteView
  • #859 - Fix Javascript for connection status toggle button on device view
  • #861 - Avoid overwriting device primary IP assignment from alternate family during bulk import of IP addresses
  • #865 - Fix server error when attempting to delete a protected object parent (Python 3)

v1.8.3 (2017-01-26)

Improvements

  • #782 - Allow filtering devices list by manufacturer
  • #820 - Add VLAN column to parent prefixes table on IP address view
  • #821 - Support for comma separation in bulk IP/interface creation
  • #827 - Introduced support for Python 3
  • #836 - Add "deprecated" status for IP addresses
  • #841 - Merged search and filter forms on all object lists

Bug Fixes

  • #816 - Redirect back to parent prefix view after deleting child prefixes termination
  • #817 - Update last_updated time of a circuit when editing a child termination
  • #830 - Redirect user to device view after editing a device component
  • #840 - Correct API path resolution for secrets when BASE_PATH is configured
  • #844 - Apply order_naturally() to API interfaces list
  • #845 - Fix missing edit/delete buttons on object tables for non-superusers

v1.8.2 (2017-01-18)

Improvements

  • #284 - Enabled toggling of interface display order per device type
  • #760 - Redirect user back to device view after deleting an assigned IP address
  • #783 - Add a description field to the Circuit model
  • #797 - Add description column to VLANs table
  • #803 - Clarify that no child objects are deleted when deleting a prefix
  • #805 - Linkify site column in device table

Bug Fixes

  • #776 - Prevent circuits from appearing twice while searching
  • #778 - Corrected an issue preventing multiple interfaces with the same position ID from appearing in a device's interface list
  • #785 - Trigger validation error when importing a prefix assigned to a nonexistent VLAN
  • #802 - Fixed enforcement of ENFORCE_GLOBAL_UNIQUE for prefixes
  • #807 - Redirect user back to form when adding IP addresses in bulk and "create and add another" is clicked
  • #810 - Suppress unique IP validation on invalid IP addresses and prefixes

v1.8.1 (2017-01-04)

Improvements

  • #771 - Don't automatically redirect user when only one object is returned in a list

Bug Fixes

  • #764 - Encapsulate in double quotes values containing commas when exporting to CSV
  • #767 - Fixes xconnect_id error when searching for circuits
  • #769 - Show default value for boolean custom fields
  • #772 - Fixes TypeError in API RackUnitListView when no device is excluded

v1.8.0 (2017-01-03)

New Features

Point-to-Point Circuits (#49)

Until now, NetBox has supported tracking only one end of a data circuit. This is fine for Internet connections where you don't care (or know) much about the provider side of the circuit, but many users need the ability to track inter-site circuits as well. This release expands circuit modeling so that each circuit can have an A and/or Z side. Each endpoint must be terminated to a site, and may optionally be terminated to a specific device and interface within that site.

L4 Services (#539)

Our first major community contribution introduces the ability to track discrete TCP and UDP services associated with a device (for example, SSH or HTTP). Each service can optionally be assigned to one or more specific IP addresses belonging to the device. Thanks to @if-fi for the addition!

Improvements

  • #122 - Added comments field to device types
  • #181 - Implemented support for bulk IP address creation
  • #613 - Added prefixes column to VLAN list; added VLAN column to prefix list
  • #716 - Add ASN field to site bulk edit form
  • #722 - Enabled custom fields for device types
  • #743 - Enabled bulk creation of all device components
  • #756 - Added contact details to site model

Bug Fixes

  • #563 - Allow a device to be flipped from one rack face to the other without moving it
  • #658 - Enabled conditional treatment of network/broadcast IPs for a prefix by defining it as a pool
  • #741 - Hide "select all" button for users without edit permissions
  • #744 - Fixed export of sites without an AS number
  • #747 - Fixed natural_order_by integer cast error on large numbers
  • #751 - Fixed python-cryptography installation issue on Debian
  • #763 - Added missing fields to CSV exports for racks and prefixes

v1.7.3 (2016-12-08)

Bug Fixes

  • #724 - Exempt API views from LoginRequiredMiddleware to enable basic HTTP authentication when LOGIN_REQUIRED is true
  • #729 - Corrected cancellation links when editing secondary objects
  • #732 - Allow custom select field values to be deselected if the field is not required
  • #733 - Fixed MAC address filter on device list
  • #734 - Corrected display of device type when editing a device

v1.7.2-r1 (2016-12-06)

Improvements

  • #663 - Added MAC address search field to device list
  • #672 - Increased the selection of available colors for rack and device roles
  • #695 - Added is_private field to RIR

Bug Fixes

  • #677 - Fix setuptools installation error on Debian 8.6
  • #696 - Corrected link to VRF in prefix and IP address breadcrumbs
  • #702 - Improved Unicode support for custom fields
  • #712 - Corrected export of tenants which are not assigned to a group
  • #713 - Include a label for the comments field when editing circuits, providers, or racks in bulk
  • #718 - Restore is_primary field on IP assignment form
  • #723 - API documentation is now accessible when using BASE_PATH
  • #727 - Corrected error in rack elevation display (v1.7.2)

v1.7.1 (2016-11-15)

Improvements

  • #667 - Added prefix utilization statistics to the RIR list view
  • #685 - When assigning an IP to a device, automatically select the interface if only one exists

Bug Fixes

  • #674 - Fix assignment of status to imported IP addresses
  • #676 - Server error when bulk editing device types
  • #678 - Server error on device import specifying an invalid device type
  • #691 - Allow the assignment of power ports to PDUs
  • #692 - Form errors are not displayed on checkbox fields

v1.7.0 (2016-11-03)

New Features

IP address statuses (#87)

An IP address can now be designated as active, reserved, or DHCP. The DHCP status implies that the IP address is part of a DHCP pool and may or may not be assigned to a DHCP client.

Top-to-bottom rack numbering (#191)

Racks can now be set to have descending rack units, with U1 at the top of the rack. When adding a device to a rack with descending units, be sure to position it in the lowest-numbered unit which it occupies (this will be physically the topmost unit).

Improvements

  • #211 - Allow device assignment and removal from IP address view
  • #630 - Added a custom 404 page
  • #652 - Use password input controls when editing secrets
  • #654 - Added Cisco FlexStack and FlexStack Plus form factors
  • #661 - Display relevant IP addressing when viewing a circuit

Bug Fixes

  • #632 - Use semicolons instead of commas to separate regexes in topology maps
  • #647 - Extend form used when assigning an IP to a device
  • #657 - Unicode error when adding device modules
  • #660 - Corrected calculation of utilized space in rack list
  • #664 - Fixed bulk creation of interfaces across multiple devices

v1.6.3 (2016-10-19)

Improvements

  • #353 - Bulk editing of device and device type interfaces
  • #527 - Support for nullification of fields when bulk editing
  • #592 - Allow space-delimited lists of ALLOWED_HOSTS in Docker
  • #608 - Added "select all" button for device and device type components

Bug Fixes

  • #602 - Correct display of custom integer fields with value of 0 or 1
  • #604 - Correct display of unnamed devices in form selection fields
  • #611 - Power/console/interface connection import: status field should be case-insensitive
  • #615 - Account for BASE_PATH in static URLs and during login
  • #616 - Correct display of custom URL fields

v1.6.2-r1 (2016-10-04)

Improvements

  • #212 - Introduced the BASE_PATH configuration setting to allow running NetBox in a URL subdirectory
  • #345 - Bulk edit: allow user to select all objects on page or all matching query
  • #475 - Display "add" buttons at top and bottom of all device/device type panels
  • #480 - Improved layout on mobile devices
  • #481 - Require interface creation before trying to assign an IP to a device
  • #575 - Allow all valid URL schemes in custom fields
  • #579 - Add a description field to export templates

Bug Fixes

  • #466 - Validate available free space for all instances when increasing the U height of a device type
  • #571 - Correct rack group filter on device list
  • #576 - Delete all relevant CustomFieldValues when deleting a CustomFieldChoice
  • #581 - Correct initialization of custom boolean and select fields
  • #591 - Correct display of component creation buttons in device type view

v1.6.1-r1 (2016-09-21)

Improvements

  • #415 - Add an expand/collapse toggle button to the prefix list
  • #552 - Allow filtering on custom select fields by "none"
  • #561 - Make custom fields accessible from within export templates

Bug Fixes

  • #493 - CSV import support for UTF-8
  • #531 - Order prefix list by VRF assignment
  • #542 - Add LDAP support in Docker
  • #557 - Add 'global' choice to VRF filter for prefixes and IP addresses
  • #558 - Update slug field when name is populated without a key press
  • #562 - Fixed bulk interface creation
  • #564 - Display custom fields for all applicable objects

v1.6.0 (2016-09-13)

New Features

Custom Fields (#129)

Users can now create custom fields to associate arbitrary data with core NetBox objects. For example, you might want to add a geolocation tag to IP prefixes, or a ticket number to each device. Text, integer, boolean, date, URL, and selection fields are supported.

Improvements

  • #489 - Docker file now builds from a python:2.7-wheezy base instead of ubuntu:14.04
  • #540 - Add links for VLAN roles under VLAN navigation menu
  • Added new interface form factors
  • Added address family filters to aggregate and prefix lists

Bug Fixes

  • #476 - Corrected rack import instructions
  • #484 - Allow bulk deletion of >1K objects
  • #486 - Prompt for secret key only if updating a secret's value
  • #490 - Corrected display of circuit commit rate
  • #495 - Include tenant in prefix and IP CSV export
  • #507 - Corrected rendering of nav menu on screens narrower than 1200px
  • #515 - Clarified instructions for the "face" field when importing devices
  • #522 - Remove obsolete check for staff status when bulk deleting objects
  • #544 - Strip CRLF-style line terminators from rendered export templates

v1.5.2 (2016-08-16)

Bug Fixes

  • #460 - Corrected ordering of IP addresses with differing prefix lengths
  • #463 - Prevent pre-population of livesearch field with '---------'
  • #467 - Include prefixes and IPs which inherit tenancy from their VRF in tenant stats
  • #468 - Don't allow connected interfaces to be changed to the "virtual" form factor
  • #469 - Added missing import buttons to list views
  • #472 - Hide the connection button for interfaces which have a circuit terminated to them

v1.5.1 (2016-08-11)

Improvements

  • #421 - Added an asset tag field to devices
  • #456 - Added IP search box to home page
  • Colorized rack and device roles

Bug Fixes

  • #454 - Corrected error on rack export
  • #457 - Added role field to rack edit form

v1.5.0 (2016-08-10)

New Features

Rack Enhancements (#180, #241)

Like devices, racks can now be assigned to functional roles. This allows users to group racks by designated function as well as by physical location (rack groups). Additionally, rack can now have a defined rail-to-rail width (19 or 23 inches) and a type (two-post-rack, cabinet, etc.).

Improvements

  • #149 - Added discrete upstream speed field for circuits
  • #157 - Added manufacturer field for device modules
  • We have a logo!
  • Upgraded to Django 1.10

Bug Fixes

  • #433 - Corrected form validation when editing child devices
  • #442 - Corrected child device import instructions
  • #443 - Correctly display and initialize VRF for creation of new IP addresses
  • #444 - Corrected prefix model validation
  • #445 - Limit rack height to between 1U and 100U (inclusive)

v1.4.2 (2016-08-06)

Improvements

  • #167 - Added new interface form factors
  • #253 - Added new interface form factors
  • #434 - Restored admin UI access to user action history (however bulk deletion is disabled)
  • #435 - Added an "add prefix" button to the VLAN view

Bug Fixes

  • #425 - Ignore leading and trailing periods when generating a slug
  • #427 - Prevent error when duplicate IPs are present in a prefix's IP list
  • #429 - Correct redirection of user when adding a secret to a device

v1.4.1 (2016-08-03)

Improvements

  • #289 - Annotate available ranges in prefix IP list
  • #412 - Tenant group assignment is no longer mandatory
  • #422 - CSV import now supports double-quoting values which contain commas

Bug Fixes

  • #395 - Show child prefixes from all VRFs if the parent belongs to the global table
  • #406 - Fixed circuit list rendring when filtering on port speed or commit rate
  • #409 - Filter IPs and prefixes by tenant slug rather than by its PK
  • #411 - Corrected title of secret roles view
  • #419 - Fixed a potential database performance issue when gathering tenant statistics

v1.4.0 (2016-08-01)

New Features

Multitenancy (#16)

NetBox now supports tenants and tenant groups. Sites, racks, devices, VRFs, prefixes, IP addresses, VLANs, and circuits can be assigned to tenants to track the allocation of these resources among customers or internal departments. If a prefix or IP address does not have a tenant assigned, it will fall back to the tenant assigned to its parent VRF (where applicable).

Improvements

  • #176 - Introduced seed data for new installs
  • #358 - Improved search for all objects
  • #394 - Improved VRF selection during bulk editing of prefixes and IP addresses
  • Miscellaneous cosmetic improvements to the UI

Bug Fixes

  • #392 - Don't include child devices in non-racked devices table
  • #397 - Only include child IPs which belong to the same VRF as the parent prefix

v1.3.2 (2016-07-26)

Improvements

  • #292 - Added part_number field to DeviceType
  • #363 - Added a description field to the VLAN model
  • #374 - Increased VLAN name length to 64 characters
  • Enabled bulk deletion of interfaces from devices

Bug Fixes

  • #359 - Corrected the DCIM API endpoint for finding related connections
  • #370 - Notify user when secret decryption fails
  • #381 - Fix 'u_consumed' error on rack import
  • #384 - Fixed description field's maximum length on IPAM bulk edit forms
  • #385 - Fixed error when deleting a user with one or more associated UserActions

v1.3.1 (2016-07-21)

Improvements

  • #258 - Add an API endpoint to list interface connections
  • #303 - Improved numeric ordering of sites, racks, and devices
  • #304 - Display utilization percentage on rack list
  • #327 - Disable rack assignment for installed child devices

Bug Fixes

  • #331 - Add group field to VLAN bulk edit form
  • Miscellaneous improvements to Unicode handling

v1.3.0 (2016-07-18)

New Features

  • #42 - Allow assignment of VLAN on prefix import
  • #43 - Toggling of IP space uniqueness within a VRF
  • #111 - Introduces VLAN groups
  • #227 - Support for bulk import of child devices

Bug Fixes

  • #301 - Prevent deletion of DeviceBay when installed device is deleted
  • #306 - Fixed device import to allow an unspecified rack face
  • #307 - Catch RelatedObjectDoesNotExist when an invalid device type is defined during device import
  • #308 - Update rack assignment for all child devices when moving a parent device
  • #311 - Fix assignment of primary_ip on IP address import
  • #317 - Rack elevation display fix for device types greater than 42U in height
  • #320 - Disallow import of prefixes with host masks
  • #322 - Corrected VLAN import behavior

v1.2.2 (2016-07-14)

Improvements

  • #174 - Added search and site filter to provider list
  • #270 - Added the ability to filter devices by rack group

Bug Fixes

  • #115 - Fix deprecated django.core.context_processors reference
  • #268 - Added support for entire 32-bit ASN space
  • #282 - De-select "all" checkbox if one or more objects are deselected
  • #290 - Always display management interfaces for a device type (even if is_network_device is not set)

v1.2.1 (2016-07-13)

Note: This release introduces a new dependency (natsort). Be sure to run upgrade.sh if upgrading from a previous release.

Improvements

  • #285 - Added the ability to prefer IPv4 over IPv6 for primary device IPs

Bug Fixes

  • #243 - Improved ordering of device object lists
  • #271 - Fixed primary_ip bug in secrets API
  • #274 - Fixed primary_ip bug in DCIM admin UI
  • #275 - Fixed bug preventing the expansion of an existing aggregate

v1.2.0 (2016-07-12)

New Features

  • #73 - Added optional persistent banner
  • #93 - Ability to set both IPv4 and IPv6 primary IPs for devices
  • #203 - Introduced support for LDAP

Bug Fixes

  • #162 - Fixed support for Unicode characters in rack/device/VLAN names
  • #228 - Corrected conditional inclusion of device bay templates
  • #246 - Corrected Docker build instructions
  • #260 - Fixed error on admin UI device type list
  • Miscellaneous layout improvements for mobile devices

v1.1.0 (2016-07-07)

New Features

  • #107 - Docker support
  • #91 - Support for subdevices within a device
  • #170 - Added MAC address field to interfaces

Bug Fixes

  • #169 - Fix rendering of cancellation URL when editing objects
  • #183 - Ignore vi swap files
  • #209 - Corrected error when not confirming component template deletions
  • #214 - Fixed redundant message on bulk interface creation
  • #68 - Improved permissions-related error reporting for secrets

v1.0.7-r1 (2016-07-05)

  • #199 - Correct IP address validation

v1.0.7 (2016-06-30)

Note: If upgrading from a previous release, be sure to run ./upgrade.sh after downloading the new code.

  • #135: Fixed display of navigation menu on mobile screens
  • #141: Fixed rendering of "getting started" guide
  • Modified upgrade.sh to use sudo for pip installations
  • #109: Hide the navigation menu from anonymous users if login is required
  • #143: Add help_text to Device.position
  • #136: Prefixes which have host bits set will trigger an error instead of being silently corrected
  • #140: Improved support for Unicode in object names

1.0.0 (2016-06-27)

NetBox was originally developed internally at DigitalOcean by the network development team. This release marks the debut of NetBox as an open source project.