Platform for Device can only be selected if Platform does not have a Manufacturer. #6573

Closed
opened 2025-12-29 19:42:32 +01:00 by adam · 3 comments
Owner

Originally created by @LHBL2003 on GitHub (Jun 17, 2022).

NetBox version

v3.2.4

Python version

3.10

Steps to Reproduce

  • Under Device, create a Platform with Manufacture and one without Manufacture.
    image

  • Create any other Manufacture e.g. APC

  • Create a device

  • First click on the Platform drop-down list. | Result: All platforms are listed.

image

Select any manufacturer e.g. APC | Result: Only the operating systems that do not have a Manufacture are listed.
image

Expected Behavior

Selection of the software platform should always be possible.

Observed Behavior

Platform cannot be selected during decive if Platrom has specified a Manufacturer.

Originally created by @LHBL2003 on GitHub (Jun 17, 2022). ### NetBox version v3.2.4 ### Python version 3.10 ### Steps to Reproduce - Under Device, create a Platform with Manufacture and one without Manufacture. ![image](https://user-images.githubusercontent.com/46369917/174271284-aef232c0-d4fb-4dbe-9014-75ea6ad3d43d.png) - Create any other Manufacture e.g. APC - Create a device - First click on the Platform drop-down list. | Result: All platforms are listed. ![image](https://user-images.githubusercontent.com/46369917/174272233-8c781f33-c940-48d1-bba7-01c7946f4943.png) Select any manufacturer e.g. APC | Result: Only the operating systems that do not have a Manufacture are listed. ![image](https://user-images.githubusercontent.com/46369917/174272405-b454e5df-06ca-4217-9719-520dee6473a7.png) ### Expected Behavior Selection of the software platform should always be possible. ### Observed Behavior Platform cannot be selected during decive if Platrom has specified a Manufacturer.
adam added the type: bug label 2025-12-29 19:42:32 +01:00
adam closed this issue 2025-12-29 19:42:32 +01:00
Author
Owner

@cybarox commented on GitHub (Jun 17, 2022):

That's not a bug, that's by design. When you create a new device from the manufacturer cisco, the corresponding platforms are also displayed where cisco is set as the manufacturer.

So device manufacturer and platform manufacturer match each other.

The other way around: If no manufacturer is set for platforms, these can apply to devices of every manufacturer.

@cybarox commented on GitHub (Jun 17, 2022): That's not a bug, that's by design. When you create a new device from the manufacturer cisco, the corresponding platforms are also displayed where cisco is set as the manufacturer. So device manufacturer and platform manufacturer match each other. The other way around: If no manufacturer is set for platforms, these can apply to devices of every manufacturer.
Author
Owner

@jeremystretch commented on GitHub (Jun 17, 2022):

@cybarox is correct; the assignment of a manufacturer to a platform is optional and needed only when it is desirable to restrict the assignment of a platform to devices "owned" by a specific manufacturer.

I'm going to close this out as there is no action to be taken.

@jeremystretch commented on GitHub (Jun 17, 2022): @cybarox is correct; the assignment of a manufacturer to a platform is optional and needed only when it is desirable to restrict the assignment of a platform to devices "owned" by a specific manufacturer. I'm going to close this out as there is no action to be taken.
Author
Owner

@LHBL2003 commented on GitHub (Jun 18, 2022):

Ok, then I have misunderstood. I assumed that Windows 7, Windows 10, Server 2019, Server 2022 would be grouped together under Microsoft. :)

Therefore, the selection of VMs is unrestricted. Since there is no manufacturer here.

But then that was a thinking error on my part.

THX

@LHBL2003 commented on GitHub (Jun 18, 2022): Ok, then I have misunderstood. I assumed that Windows 7, Windows 10, Server 2019, Server 2022 would be grouped together under Microsoft. :) Therefore, the selection of VMs is unrestricted. Since there is no manufacturer here. But then that was a thinking error on my part. THX
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6573