Introduction of Device Role Groups #18245
Labels
status: needs triage
This issue is awaiting triage by a maintainer
type: feature
Introduction of new functionality to the application
NetBox version
v4.1.7
Feature type
Data model extension
Triage priority
N/A
Proposed functionality
Currently all Device Roles are in a "flat" hierarchy. In order to segregate the Device Roles based on function, you may need multiple roles of a similar type if you want to segregate them accordingly.
I'm proposing that Device Role Groups be introduced to provide a level of hierarchy to Device Roles, much in a similar way to how Tenant Groups provide a similar function to how Tenants can be grouped.
Use case
In an environment where there are a lot of different device roles, it may be useful to be able to group them much like in the same way Tenants and Tenant Groups, or Contacts and Contact Groups are grouped today.
I can envisage that (for example) you may have a "Rack Infrastructure" Device Role Group which then has roles specific for "Patch Panel", "Power" etc.
Another example may be Network Switches, where you may want to segregate the Device Role based on function, while keeping them all under a Network Switch parent group.
Database changes
Not a DB expert, but I suspect it would likely require the Device Role field to be changed to accommodate this function and the introduction of a non-mandatory Device Role Group field as well.
External dependencies
No response
The text was updated successfully, but these errors were encountered: