Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Parent Device Roles #12209

Closed
djmelik opened this issue Apr 8, 2023 · 3 comments
Closed

Add Support for Parent Device Roles #12209

djmelik opened this issue Apr 8, 2023 · 3 comments
Labels
type: feature Introduction of new functionality to the application

Comments

@djmelik
Copy link

djmelik commented Apr 8, 2023

NetBox version

v3.4.7

Feature type

Data model extension

Proposed functionality

I would like for Netbox to be able to support parent-child relationships in the context of Device Roles. It would be nice to be able to nest device role types for greater granularity and organization.

Use case

Currently, we have many different router and switch device role types. For instance; we have Border Router, Peering Router, Access Router, Core Router, Spine Router, Leaf Router, etc. It would be nice to be able to create a parent "Router" Device Role parent type, and set all granular router device roles as children. In other words, nest Access Router, Border Router, Peering Router, etc under Router.

This would significantly help with both filtering and just general organization.

Database changes

Unfortunately, I am not a developer; I do not know how to meaningfully answer this question.

External dependencies

N/A

@djmelik djmelik added the type: feature Introduction of new functionality to the application label Apr 8, 2023
@jeremystretch
Copy link
Member

jeremystretch commented May 4, 2023

IMO this makes sense, but first we need to figure out what we're doing with MPTT, which is what's currently in place for all self-nesting models. I'm going to mark this as blocked by #6587 / #11421.

@jeremystretch jeremystretch added the status: blocked Another issue or external requirement is preventing implementation label May 4, 2023
@jeremystretch
Copy link
Member

Blocked by #12552

@DanSheps
Copy link
Member

Duplicate of #6290

@DanSheps DanSheps marked this as a duplicate of #6290 May 11, 2023
@DanSheps DanSheps closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2023
@DanSheps DanSheps removed the status: blocked Another issue or external requirement is preventing implementation label May 11, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants