netbox-community / devicetype-library

A collection of community-sourced DeviceType definitions for import to NetBox
Creative Commons Zero v1.0 Universal
884 stars 876 forks source link

How to handle Master/Link PDUs #233

Closed benclement closed 2 years ago

benclement commented 3 years ago

What is the best way to handle Master / Link PDUs in the devicetype-library and Netbox? I have a number of Servertech PDUs such as model STV-4101C (master) / SEV-4101C (Link). In my netbox deployment I've created a single YAML (attached as PDF for reference) that have both Master and Link power outlets but wondering if there is there a way to create individual device types for the master and link part numbers and then somehow "link" them in Netbox so they appear logically as a single device as they do for mgmt?

Let me know if this is a question better asked in https://github.com/netbox-community/netbox and I'll post there.

Thanks

STV-4101C.pdf

antonalekseev commented 3 years ago

If link PDU can be considered as a child device of a master PDU, device bays can be used to conceptually model such a setup.

ryanmerolle commented 3 years ago

@antonalekseev presents a option, but I think that would be confusing since devices bays signify items within a device. This model, at first thought, sounds like a model similar to stack switches and virtual chassis. That is just me thinking outloud, and not testing against that model or even seeing it makes sense.

ryanmerolle commented 3 years ago

Thinking about this further, maybe virtual chassis make sense for this model? Not sure.