device_role field on the Device model has been renamed to role. The device_role field has been temporarily retained on the REST API serializer for devices for backward compatibility, but is read-only.choices array field has been removed from the CustomField model. Any defined choices are automatically migrated to CustomFieldChoiceSets, accessible via the new choice_set field on the CustomField model.napalm_driver and napalm_args fields (which were deprecated in v3.5) have been removed from the Platform model.Management views for the following object types, previously available only under the backend admin interface, have been relocated to the primary user interface:
The admin UI is scheduled for removal in NetBox v4.0.
Administrators now have the option of configuring a set of default permissions to be applied to all users, regardless of explicit permission or group assignment. This is accomplished by defining the DEFAULT_PERMISSIONS configuration parameter.
Users can now bookmark their most commonly-visited objects in NetBox. Bookmarks will display both on the dashboard (if configured) and on a user-specific bookmarks view.
Select and multi-select custom fields now employ discrete, reusable choice sets containing the valid options for each field. A choice set may be shared by multiple custom fields. Additionally, each choice within a set can now specify both a value and a human-friendly label (see #13241).
Users now have the option to employ one of several pre-defined choice sets when creating a custom field. These include:
Extra choices may also be appended to the pre-defined sets as needed.
Tags may now be restricted to use with designated object types. Tags that have no specific object types assigned may be used with any object that supports tag assignment.
rf_role to InterfaceTemplatedevice_role field on Device to role for consistency with VirtualMachineChoiceField and MultipleChoiceField classesnapalm_driver and napalm_args from Platformaccount app for better organization/api/extras/bookmarks//api/extras/custom-field-choice-sets//api/extras/custom-fields/{id}/choices/ endpoint for select and multi-select custom fieldsdevice_role to device. Added a read-only device_role field for limited backward compatibility.latitude and longitude fields (for GPS coordinates)oob_ip field for out-of-band IP address assignmentconsole_port_template_countconsole_server_port_template_countpower_port_template_countpower_outlet_template_countinterface_template_countfront_port_template_countrear_port_template_countdevice_bay_template_countmodule_bay_template_countinventory_item_template_countrf_role fieldnapalm_driver and napalm_args fieldstenant fieldstarting_unit fieldmember_count fieldchoices array fieldchoice_set foreign key field (to ChoiceSet)object_types field for optional restriction to specific object typescustom_fields and tags supporttags supportoob_ip field for out-of-band IP address assignment