Replies: 3 comments 4 replies
-
You can ignore the Rack model entirely, and just create "Locations" which are sub-areas within a Site. Devices can be assigned to a Location without being assigned to a Rack. These will appear as "non-racked devices" within the Location. It's also useful that Locations can be created hierarchically: e.g. a location could be a floor, a floor can contain rooms, a room can contain a cabinet etc. You can add a custom field on Location if you want to define the type e.g. "room", "indoor enclosure", "outdoor cabinet" etc. Put it another way: only use a "rack" if it's actually something that hold one or more rack-mountable components in "U" blocks. (Then you can see why "0U rack" doesn't make any sense - because it's not a rack). |
Beta Was this translation helpful? Give feedback.
-
PDUs and other managed infrastructure attached to the rack but not consuming Rack Units are the primary use case for unracked devices.
Racks are a useful model because Rack Units are a limited resource that need to be managed and cabinets are already listed as a type of rack when storing dimensions, I'm not sure all the view/edit queries for this data know how to handle a 0U rack, so making a 0U "Wall-mounted cabinet" may need some amount of work/validation. Making a feature request for 0U cabinets can at least put it on the radar however, while using 1U Racks to model this may not be perfectly elegant, it doesn't seem harmful, are there technical issues that the "empty" 1U rack entries causing? You could also make another feature request to add a few more generic rack types to the 5 or so listed too, if you had specific recommendations.
In this case I would also recommend just using custom fields for more specific cabinet_type selection list, another for cabinet_ventilation and whatever other data points you want to track. One thing that I try to keep in mind though is if the data is going to be useful for a config automation tool or a report and how much work it takes to gather, enter and maintain the data over time, so as to not bury our network engineers under low-value administrivia.
At least for my opinion as a user of Netbox, and probably why you see this as pushback, it's more important to me that Netbox have useful modeling than perfectly elegant or comprehensive modeling. In my experience the effort to get from pretty good to perfect is often not worth it, using locally documented naming conventions, custom_fields, reports or procedures to bridge any gap between the base built-in models and our organizations process has worked well for me.
—
Mark Tinberg ***@***.***>
Division of Information Technology-Network Services
University of Wisconsin-Madison
…________________________________
From: Brian Candler ***@***.***>
Sent: Monday, November 7, 2022 10:33 AM
To: netbox-community/netbox ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [netbox-community/netbox] 0U Racks == Enclosures (Discussion #10858)
making Connections only contemplates devices in the same Site and Rack, not devices in the same Location
That's only the default selection. I think if the "A" side is a device which is not in any Rack, then it would make sense for the "B" side to default to the same Location. If that's not how it works today, then it would be a reasonable feature request IMO.
I take the opposite view to you: if it doesn't have rack ears, then it's not a rack. But each to their own.
the Rack model should equally not allow for unracked devices.
I think that's primarily for sitting things on shelves within a rack. Something can be within a rack, without being bolted to the ears. The thing that it's inside is still a rack.
—
Reply to this email directly, view it on GitHub<#10858 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAS7UM7UNOLBAAI7C22BEU3WHEVNTANCNFSM6AAAAAARYOL7VE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I too am running up against this problem trying to model networks in heavy OT environments (roadside cabinets, manufacturing facilities, solar farms etc.) where a lot of DIN-rail mount switches are used inside electrical and control panels. DIN rails don't segment nicely like 19" Rack Units, but I was thinking along the lines of a drop-down that could nominate a "rack" as an "enclosure" or "cabinet", and changing the parameters from RU count to number of DIN rails along with width (in mm/inches) for each. Then DIN-rail devices could be added to a specific rail at a position (mm or inches from the left hand side of the rail) and their widths would be subtracted from available DIN-rail length, giving utilisation. This device space would then be reserved and unavailable for other devices in much the same way that the rack occupancy code works today. Using locations and unracked devices takes away the benefit of utilisation calculation and consistent patching schedules (the rack column for A and B end is missing for "location" cabinets). I would be interested in funding this development, but will look to see if this functionality can be introduced via a plugin. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We've got lots of non-rack cabinets with equipment. I model them in Netbox as 1U racks, and all devices are unracked. I greatly appreciate the locations addition, but it would be handy for Netbox to handle this.
Unless there's if there's a way to do this more elegantly...?
Some examples:
I would posit as a bare minimum, Netbox 'just' needs to allow 0U racks. Additionally allowing a few new rack types to include 'indoor enclosure', 'outdoor cabinet', 'portable case' etc. but we don't need to go too wild here. (although I'm realizing having another rack field for sealed/vented/heated/cooled... okay, into feature creep now ;)
Beta Was this translation helpful? Give feedback.
All reactions