netbox-community / netbox-topology-views

A netbox plugin that draws topology views
Apache License 2.0
757 stars 63 forks source link

Location Centric (as opposed to filtered) topology views #293

Closed dutchman80 closed 1 year ago

dutchman80 commented 1 year ago

NetBox version

v3.4.8

Topology Views version

v3.4.0

Feature type

New functionality

Proposed functionality

When filtering topology by Location, or when clicking the "Topology" button in the Location view, show anything that's connected to the Location's Devices, within that Location's Site, along with the Location's Devices. This behavior could be by default, or togglable with a checkbox.

This would depend on having the Topology button show up in Location views, the same way it shows up in the Site views now

Use case

Normally, when filtering by Site, you just want to see the the devices in that Site. However, when filtering by Location, you're often concerned with not just the devices within the Location, but any other devices within the Location's Site that those devices are connected to.

This would allow you to go to a Location, click the Topology button, and then see not only the Devices in that Location, but anything they're connected to outside the Location as well. Extremely helpful for troubleshooting situations.

External dependencies

No response

dreng commented 1 year ago

Thank you for your proposal. Did you notice the new "show neighbors" feature? If you go to the filter section, select a location and select "show cables", "show logical connections" and "show neighbors", is this the view you would expect for the proposed button?

dreng commented 1 year ago

Just want to add that this feature came with Netbox Topology Views v3.5.0. You have to upgrade first.

dutchman80 commented 1 year ago

Amazing! Yes, after upgrading to v3.5.1 I now see the "show neighbors" feature. This is what I was imagining.

The only other ask would be to add the "Topology" button to Location views, the same way we currently have it in the Site views?

dreng commented 1 year ago

@dutchman80 Would you like to have a htmx popup just like it is on the Sites page or do you imagine a redirect to the "full" topology view page?

dutchman80 commented 1 year ago

I think keeping it consistent with how the Sites page behaves makes intuitive sense so, yes, I'd like to see it as a pop up.