-
Notifications
You must be signed in to change notification settings - Fork 114
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
Duplicated connections in diagram #42
Comments
It's a bit hard to troubleshoot without details about the environment. The tool itself is not updated super often but we might be able to help you tweak it.
|
Hi Laurent, thank you for your reply. I've tried the Script in different OS, both with the same end result of duplicating connections. Gives alot of Parent and Child (IP Parent address example 192.168.1.1), then reversed Parent and Child (IP Parent address example 192.168.1.2) and in the end more duplicates of Parent and Child (IP Parent address example 192.168.1.1 and IP Child address 192.168.1.2) OS: Redhat 7.6 Windows 10 I've run the script against vIOS from VIRL and real hardware (Cat4509, Cat4500x, Cat3850, Cat2960). They all present the same symptom. I've tried to add a few prints to grab CDP before the script write it to the diagram but had zero output, so I'm clearly not doing it properly :/ Is there any other information I can give you ? |
That's rough - I've just ran the script two weeks ago with 50 or so devices and had no issues with duplicate links. I'll see if anything changed. I'll see if I can run it again to replicate. Can you try a Ubuntu 18.04? How are you installing Natlas? |
Thank you for the suggestion, but the problem still remains. In a small network it doesn't matter much, but on a bigger (live one) renders the "diagram" function useless. Ubuntu Desktop 18.04 I just download the zip with wget, run the setup and install graphviz (ubuntu). In Centos I create a a venv so that Python3 doesn't screw the OS. Looking forward to see the results of your tests again |
I think the reason you are getting duplicate links in the smaller image may be because one device reports its interface name as "Et0/3" and the other reports the remote interface name as "Ethernet0/3". The logic prunes based off exact string matches. The original image you posted does not appear to have that problem though. Were either edited for clarity or is this actual output? |
I'm seieing the same thing as the first diagram as well. Connections are entered 4 times to each device. P:te1/1/6 is repeated for 4 connections to/from the same device. And not ever device but many have these duplications. |
Hi,
I consistently have duplicated connections in my diagram. I did try to have a look but I'm not a programmer so wasn't able to fix it. This happens every time so its easily reproduced.
Regards
The text was updated successfully, but these errors were encountered: