netbox_floorplan icon indicating copy to clipboard operation
netbox_floorplan copied to clipboard

Rack/non racked device sizes pulled in from object

Open dBitech opened this issue 2 years ago • 3 comments

The size of the object shown on the floor plan should come from the rack/device being added to the map. At the moment when you place a rack, it comes into the map as 24x36", even if the Rack's dimensions are specified as 19x6 (a 2 post rack for example)

dBitech avatar Sep 17 '23 01:09 dBitech

Hi @dBitech do you want to open a PR, adding support for this??

tbotnz avatar Sep 18 '23 08:09 tbotnz

Something to discuss @tbotnz - what's your vision for handling non-racked devices? They don't have a true size construct in Netbox, and I know teams all handle them somewhat differently....

The two main ones I've seen:

  • Custom Fields
  • Fake Racks- i.e. build a custom "rack" the size of say... a CRAC- and then place a "device" within it, filling the unit.

The other option may be just to allow manual resize of the object if it's not a rack? Maybe an additonal custom_meta with "resizeable": true or similar?

justin-davisibm avatar Sep 19 '23 15:09 justin-davisibm

@justin-davisibm I think for now we just allow non racled devices to have their width / depth changed on thr floorplan through dragging. Once netbox adds support on thr device type then we can update accordingly

tbotnz avatar Sep 28 '23 07:09 tbotnz