Skip to content

Allow non-unique device and virtual machine names #2669

@jeremystretch

Description

@jeremystretch

Environment

  • Python version: 3.5.2
  • NetBox version: 2.5.0

Proposed Functionality

Remove the uniqueness constraint on device and virtual machine names, so that multiple objects can be created with the same name. It is worth noting that NetBox technically already supports non-unique names, given that multiple devices can be unnamed (i.e. with a name of NULL).

Use Case

Some users have expressed a desire to support having multiple devices/VMs with the same name.

Database Changes

Remove unique=True from the name field on the Device and VirtualMachine models.

External Dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions