Show cluster as mandatory when adding a virtual machine via UI #8680

Closed
opened 2025-12-29 20:39:48 +01:00 by adam · 4 comments
Owner

Originally created by @empusas on GitHub (Sep 27, 2023).

NetBox version

v3.6.3

Python version

3.11

Steps to Reproduce

This is just a little cosmetic, but bothers me for a while. The Cluster is not shown as mandatory field in the VM creation form.

Expected Behavior

I would expect all mandatory fields marked bold and with a *

Observed Behavior

In the VM creation form the cluster seems like an optional field.

Originally created by @empusas on GitHub (Sep 27, 2023). ### NetBox version v3.6.3 ### Python version 3.11 ### Steps to Reproduce This is just a little cosmetic, but bothers me for a while. The Cluster is not shown as mandatory field in the VM creation form. ### Expected Behavior I would expect all mandatory fields marked bold and with a * ### Observed Behavior In the VM creation form the cluster seems like an optional field.
adam added the type: featurestatus: revisions needed labels 2025-12-29 20:39:48 +01:00
adam closed this issue 2025-12-29 20:39:49 +01:00
Author
Owner

@arthanson commented on GitHub (Sep 27, 2023):

It is a bit different in this case as either a site or cluster needs to be given (so cluster is optional if a site is given). Perhaps some help text under those fields stating that might be useful.

@arthanson commented on GitHub (Sep 27, 2023): It is a bit different in this case as either a site or cluster needs to be given (so cluster is optional if a site is given). Perhaps some help text under those fields stating that might be useful.
Author
Owner

@empusas commented on GitHub (Sep 28, 2023):

agree, but this little change would help users to understand.

@empusas commented on GitHub (Sep 28, 2023): agree, but this little change would help users to understand.
Author
Owner

@jeremystretch commented on GitHub (Oct 2, 2023):

@empusas I think you misunderstood @arthanson's point. The cluser field is not mandatory for virtual machines, because a VM may be assigned to either a cluster or to a device. Displaying it as a mandatory field (akin to the name or status fields) would be misleading and confusing. So what specific change are you proposing?

(Also, reclassifying this as an enhancement as it's not a bug.)

@jeremystretch commented on GitHub (Oct 2, 2023): @empusas I think you misunderstood @arthanson's point. The cluser field is **not** mandatory for virtual machines, because a VM may be assigned to either a cluster _or_ to a device. Displaying it as a mandatory field (akin to the name or status fields) would be misleading and confusing. So what specific change are you proposing? (Also, reclassifying this as an enhancement as it's not a bug.)
Author
Owner

@jeremystretch commented on GitHub (Nov 6, 2023):

This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.

@jeremystretch commented on GitHub (Nov 6, 2023): This issue is being closed as no further information has been provided. If you would like to revisit this topic, please first modify your original post to include all the requested detail, and then ask that the issue be reopened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8680