Skip to content

Create devices without specifying a name #4020

@marcelb98

Description

@marcelb98

Environment

  • Python version: 3.7.6
  • NetBox version: a9ff06a6ee4e (v2.7.2)

Steps to Reproduce

  1. Create a rack
  2. Add a new device to the rack, without defining a name for the new device

Expected Behavior

Since the name for devices is not marked as a mandatory field, it should be possible to create a device without specifying a name.
grafik

For some devices (e.g. cable routing) the name is irrelevant, the only necessary information is the existence of the device. The name of the corresponding device type could be used for the name of the device.

This was possible in previous versions of Netbox.

Observed Behavior

Submitting the form without specifying a device name results in an error:
grafik

Typing in the name of the device type manually isn't a fix since it would be only possible to create a single device of this type with the name of the type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: duplicateThis issue has already been raised

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions