Add platform to device types, used as default when creating a device #2072

Closed
opened 2025-12-29 17:22:01 +01:00 by adam · 2 comments
Owner

Originally created by @lowinger42 on GitHub (Oct 19, 2018).

Environment

  • Python version: 3.6.6
  • NetBox version: 2.4.4

Proposed Functionality

Add a platform field to device types. When creating a new device, use this platform field as default.

Usually platform is tied to the device type, less chance of getting this wrong.

Use Case

User creates a platform, for example "ciscosmb" with vendor Cisco.

User creates a device type, SG300-10, specifies default platform as ciscosmb

User creates multiple SG300-10 devices and all get devices automatically get the correct platform set.

Originally created by @lowinger42 on GitHub (Oct 19, 2018). ### Environment * Python version: 3.6.6 * NetBox version: 2.4.4 ### Proposed Functionality Add a platform field to device types. When creating a new device, use this platform field as default. Usually platform is tied to the device type, less chance of getting this wrong. ### Use Case User creates a platform, for example "ciscosmb" with vendor Cisco. User creates a device type, SG300-10, specifies default platform as ciscosmb User creates multiple SG300-10 devices and all get devices automatically get the correct platform set.
adam closed this issue 2025-12-29 17:22:01 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 19, 2018):

It's very common for a device type to support multiple platforms, thus it does not make sense to couple the two. (Consider a specific make and model of server running either Linux or Windows.) See #1364 for a potential future solution.

@jeremystretch commented on GitHub (Oct 19, 2018): It's very common for a device type to support multiple platforms, thus it does not make sense to couple the two. (Consider a specific make and model of server running either Linux or Windows.) See #1364 for a potential future solution.
Author
Owner

@lowinger42 commented on GitHub (Oct 20, 2018):

Ok, I was only thinking of my use case, broadband network with thousand of switches and few servers. Agree #1364 is another solution that works well. Thanks!

@lowinger42 commented on GitHub (Oct 20, 2018): Ok, I was only thinking of my use case, broadband network with thousand of switches and few servers. Agree #1364 is another solution that works well. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2072