netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Sort and group related interfaces in Device Interface tab

Open jahknem opened this issue 2 years ago • 0 comments

NetBox version

v3.2.7

Feature type

Change to existing functionality

Proposed functionality

I'd like to have the possibility to have all child interfaces grouped beneath the parent interfaces. These should be indented beneath their respective parent interface like this:

parent
> child
> child
> > grandchild
> child

The same functionality can be found in the prefix view, where child prefixes are grouped beneath their parent interfaces and indented as per their child status.

As interfaces can be related with other interfaces in a bridge or lag relationship, this is how I would propose the view for lag and bridge relationships: A similar functionality for bridges:

|-toBeBridged1
|-toBeBridged2
|-toBeBridged3

and lag groups:

----------
| phy1
| phy2
----------

would also be useful.

Use case

Currently when an interface is classified as a child interface of another interface, the relationship is only visible when changing the table settings to show parent interfaces. If one wants to see the child interfaces of an interface, the Interface menu has to be opened. While this is fine if the child interfaces have the same name stem as the parent interface, in a situation where this is not the case and there is a large number of interfaces (e.g. the ont interfaces of a (g)pon interface), it is difficult to search all child interfaces of a parent interface. A grouping of these interfaces beneath their parent interface would enable a more efficient workflow.

Database changes

No response

External dependencies

No response

jahknem avatar Jul 27 '22 21:07 jahknem