-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v2.5.0 #2660
Merged
Merged
Release v2.5.0 #2660
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…neous field attributes
…ving InterfaceConnection model
…-based choice fields
…g by individual views
…tions of connectable device components
…nent API representations
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 invokessudo
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 withsudo 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
outer_width
andouter_depth
fields to rack modeldescription
field to circuit terminationsasset_tag
field for racksLOGIN_TIMEOUT
configuration settingstatus
field for racksSESSION_FILE_PATH
configuration setting for authentication without write access to databaseupgrade.sh
no longer invokes sudoChanges From v2.5-beta2
cabled
andconnection_status
filters for device componentsouter_unit
and Cablelength_unit
to integer-based choice fields0
tonull
connection_status
field in nested represenations of connectable device componentsconnected_endpoint_type
to connectable device component API representationsAPI Changes
/extras/recent-activity/
endpoint (replaced by change logging in v2.4) has been removedrpc_client
field has been removed from dcim.Platform (see Remove deprecated RPCClient functionality #2367)/dcim/cables/
interface_connection
on Interface andinterface
on CircuitTermination have been replaced withconnected_endpoint
andconnection_status
cable
field has been added to console, power, and interface components and to circuit terminationsstatus
,asset_tag
,outer_width
,outer_depth
,outer_unit
is_console_server
:console_server_ports
is_pdu
:power_outlets
is_network_device
:interfaces
console_ports
power_ports
pass_through_ports
interface_ordering
has been removed from the DeviceType serializerdescription
field to the CircuitTermination serializeripaddress_count
to InterfaceSerializer to show the count of assigned IP addresses for each interfaceavailable-prefixes
andavailable-ips
IPAM endpoints now return an HTTP 204 response instead of HTTP 400 when no new objects can be creatednull
instead of zero