Skip to content

Use VirtualChassis name as fallback for devices #17357

@alehaa

Description

@alehaa

NetBox version

v4.0.10

Feature type

Change to existing functionality

Proposed functionality

If a device has no explicit name, but is a member of a VirtualChassis, this name (and position) should be used instead for all functionalities of NetBox. This especially affects the search index and the form fields to select a Device.

Use case

Some virtual chassis concepts (e.g. Cisco VSS) don't allow individual host names for each hardware chassis. In this case, NetBox allows the user to set the name for the virtual chassis and leave the device name blank. NetBox will then already use a combination of the virtual chassis name and the member position as the display name in the device detail view or the rack elevation view. However, these names can't be searched for in the global search, nor in the device list view, nor when selecting a device, e.g. to connect an interface. Extending this functionality would make NetBox a little easier to use, while also increasing consistency.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementnetboxstatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions