can't set a platform with an manufacturer #4418

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

Originally created by @greinick on GitHub (Dec 30, 2020).

Environment

  • Python version: Python 3.8.5
  • NetBox version: netbox-2.10.2

Steps to Reproduce

  1. Add a manufacturer
  2. Add a Platform and set the manufacturer (or an already existing one)
  3. Try to add that platform to a (new) device.

Expected Behavior

I'd expect the platform to show up in the drop down box.

Observed Behavior

The platform dose not show up.

Notes

I checked with newly created manufactures, platform and device, as well with changing existing ones. All the same behaviour.

Also I checked if I have some hidden/special characters entered or "spaces" etc.

Any Ideas how to debug that further?

Originally created by @greinick on GitHub (Dec 30, 2020). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reporting reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, please start a discussion instead: https://github.com/netbox-community/netbox/discussions Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report, and that any plugins have been disabled. --> ### Environment * Python version: Python 3.8.5 * NetBox version: netbox-2.10.2 <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox. Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a client library such as pynetbox. --> ### Steps to Reproduce 1. Add a manufacturer 2. Add a Platform and set the manufacturer (or an already existing one) 3. Try to add that platform to a (new) device. <!-- What did you expect to happen? --> ### Expected Behavior I'd expect the platform to show up in the drop down box. <!-- What happened instead? --> ### Observed Behavior The platform dose not show up. ### Notes I checked with newly created manufactures, platform and device, as well with changing existing ones. All the same behaviour. Also I checked if I have some hidden/special characters entered or "spaces" etc. Any Ideas how to debug that further?
adam closed this issue 2025-12-29 18:35:48 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 30, 2020):

Per the docs:

Platforms may optionally be limited by manufacturer: If a platform is assigned to a particular manufacturer, it can only be assigned to devices with a type belonging to that manufacturer.

Does the device you created belong to the same manufacturer?

@jeremystretch commented on GitHub (Dec 30, 2020): Per the docs: > Platforms may optionally be limited by manufacturer: If a platform is assigned to a particular manufacturer, it can only be assigned to devices with a type belonging to that manufacturer. Does the device you created belong to the same manufacturer?
Author
Owner

@greinick commented on GitHub (Dec 30, 2020):

Uh, no. I guess I missed that in the docs. But for example if I do have a server from Dell or Supermicro, how may I add a OS like Red Hat or Microsoft Windows as Platform ... ?

Not adding a manufacturer would be ok, if that s the way.

@greinick commented on GitHub (Dec 30, 2020): Uh, no. I guess I missed that in the docs. But for example if I do have a server from Dell or Supermicro, how may I add a OS like Red Hat or Microsoft Windows as Platform ... ? Not adding a manufacturer would be ok, if that s the way.
Author
Owner

@jeremystretch commented on GitHub (Dec 30, 2020):

In that case, you wouldn't restrict the platform by manufacturer since it can be used by many types of devices. The manufacturer association is intended for software that's bound to certain types of devices. For example, Junos (generally) runs only on Juniper devices.

@jeremystretch commented on GitHub (Dec 30, 2020): In that case, you wouldn't restrict the platform by manufacturer since it can be used by many types of devices. The manufacturer association is intended for software that's bound to certain types of devices. For example, Junos (generally) runs only on Juniper devices.
Author
Owner

@greinick commented on GitHub (Dec 30, 2020):

Ah ok, got it! Thanks.

@greinick commented on GitHub (Dec 30, 2020): Ah ok, got it! Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4418