Skip to content

In menus, qualify device names with site and/or tenant  #13093

@candlerb

Description

@candlerb

NetBox version

v3.5.4

Feature type

Change to existing functionality

Proposed functionality

Currently when you get a drop-down selection list of devices (e.g. when creating a cable), the list shows only the device name.

However, device names are only unique within a given site/tenant.

Therefore if you have 100 sites, each with a device named "PDU", you will see a drop-down menu with 100 entries all called "PDU" - it's impossible to distinguish one from another.

Proposal: the menu label for a device should show "device name - site - tenant". If the device has no name, then "device model - id - site - tenant".

Use case

In some contexts it is possible to filter this list down further - e.g. by opening the filter sub-window and filtering on site.

But in general, I think presenting a menu of identical-looking choices (when in fact they are significantly different, and choosing the wrong one could be a serious error) is a poor user experience.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending closureRequires immediate attention to avoid being closed for inactivitytype: featureIntroduction of new functionality to the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions