netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Column VLAN Tagged VLANs as summary.

Open LHBL2003 opened this issue 1 year ago • 8 comments

NetBox version

v.3.6.5

Feature type

Change to existing functionality

Proposed functionality

We have around 100 tagged VLANs on some ports, e.g. 2000-2100 for development systems.

The Tagged VLANs column can be displayed in the interface overview. The only problem is that the view then explodes.

It would be good to have a Short Tagged VLANs column, where only the numbers are listed as a summary. As is the case with some switch manufacturers, for example. So e.g. VLAN: 1;5;10;2000-2100

Before image

Afterwards image

Use case

The overview in the list view for the interfaces is retained. If 30 ports with VLAN 2000 to 2100 are tagged on a 48 port switch, you lose the overview. The Short VLANs column would maintain clarity despite the large amount of information.

Database changes

No response

External dependencies

No response

LHBL2003 avatar Nov 16 '23 13:11 LHBL2003

How do you propose to linkfy the items? Or is the intent to not have a way to link the items at all?

abhi1693 avatar Nov 16 '23 15:11 abhi1693

One option would be to list only n items, and if the total count exceeds n display a link to the filtered list view in addition to the objects listed.

jeremystretch avatar Nov 16 '23 16:11 jeremystretch

@jeremystretch

I also like your solution very much. Anything is better than having to scroll 2 screens for an interface. :)

LHBL2003 avatar Nov 16 '23 17:11 LHBL2003

One option would be to list only n items, and if the total count exceeds n display a link to the filtered list view in addition to the objects listed.

Or maybe even just a count of VLANS as an integer. The view is pretty jammed with info and imho it would be good to keep it as clean as possible

dejantep avatar Nov 22 '23 19:11 dejantep

@dejantep: This would then correspond to the picture above. Personally, I like both ideas better than the current situation.

LHBL2003 avatar Nov 23 '23 05:11 LHBL2003

@jeremystretch Could you accept a variant as a suggestion for improvement, I don't care which one, the main thing is that the overview improves. Thank you

LHBL2003 avatar Nov 28 '23 06:11 LHBL2003

Please stop pinging me. I will spend time on this issue when I am able.

jeremystretch avatar Nov 28 '23 12:11 jeremystretch

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

github-actions[bot] avatar Feb 27 '24 04:02 github-actions[bot]

The current situation is that if I have set the tagged VLAN 2000 to 2100 on a switch port, I now only document the first and last VLAN in Netbox. Because the current form of the table display obscures my view. It doesn't have to be that the current column display is replaced. Perhaps it is possible to offer further column displays.

Idea (Very short) If there were another column display, then this would certainly be the best choice. Because it is short and crisp. By clicking on the link you can then access a filtered VLAN list for this interface.

Example representation: image

Idea (Short but very informative) However, I don't think Jeremystretch's variant is bad either, which limits the list to e.g. 3 to 10 items and everything else is accessed via e.g. 3 points.

image

So that you don't have to click so much, you can hover over the 3 points and get a tooltip where more is displayed in advance.

image <a title="Test 0 (2000)&#013;Test 1 (2001)" href="/ipam/vlans/32/">...</a>

I won't be able to realise it. I don't have the experience to debug everything properly. But I have tried whether the tooltip can be solved via Google Chrome :) In combination with Jeremystretch's train of thought, this second idea could be really good.

LHBL2003 avatar Mar 26 '24 11:03 LHBL2003

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

github-actions[bot] avatar Aug 22 '24 04:08 github-actions[bot]