-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Network Map: Filter by VLAN doesn't work as expected #677
Comments
Good call, thanks for the report @kkesper. Note to self: Changing netdisco/lib/App/Netdisco/Web/Plugin/Device/Neighbors.pm Lines 211 to 217 in b211c7c
|
I have tried your solution, and it worked in so far, as now the correct set of devices is shown. But now the links in between these devices are drawn at completely wrong positions in the graph. It seems, as if the connections are not "fixed" at the devices. Interestingly enough, this only happens when the VLAN-filter is switched on. |
I've accidentally committed this with the comment referring to #667 |
I have installed version 2.44.5 now, and unfortunately this issue is not completely solved yet. The graph looks at first ok, but the positions of the devices don't move (as they do, when no VLAN-Filter is on) and it is also impossible to reposition any device, as the links between them stay fixed. |
Hi @kkesper please can you try clearing the cached netmap positions and check again?
Thanks |
Sorry, but no change. As soon as the VLAN-filter is used, the graph "freezes". That means the links in between the devices are fixed to the background. The devices themselves can be moved but the links dont follow them and remain in the old position. When i disable the VLAN-filter (selecting VLAN 0) everything is correct again. |
OK thanks, I'll take a look and see if I can reproduce it |
[master bb46797] smarter fix for vlan filter in netmap |
It runs perfectly now. Great work. Thanks a lot @ollyg! These graphs are very valuable for us to keep track of our campus network's structure (~230 VLANs). So again, thanks a lot. |
My pleasure :-D |
Expected Behavior
As stated in the User Guide the switches which are shown in the map should have at least one port in the VLAN specified in the filter.
Current Behavior
Instead all devices are shown where this VLAN is known. Since we use Cisco VTP domains, this means that all the devices in the VTP domain are shown, regardless which VLAN in the domain is selected.
Possible Solution
In a former version (i don't know the exact number, but before 2.42.10) the behaviour was correct.
Steps to Reproduce (for bugs)
Context
These VLAN-maps are very useful in a large network with a complicated VLAN structure. Unfortunately the current behaviour makes this featuere unusuable
Your Environment
Config info (deployment.yml)
Device information
netdisco-do show -d 1.1.1.1 -e specify -DI
The text was updated successfully, but these errors were encountered: