

Then you should save the result in a format suitable for further analysis by the computer (yeah, machines are not that good at reading visual diagrams). The primary task is to identify the physical topology and device interconnections based on LLDP data and visualize it in a human-friendly format (yeah, we all find visual diagrams more readable). We are not ought to limit your fantasy though. You are free to use any data gathering methods. You have access rights to execute any 'show' commands. All devices are available by their IP addresses. You have a list of management IP-addresses of all the devices. The final task description was the following: There is a network consisting of various L2/元 network devices running IOS/IOS-XE.

If you found a typo, please use Ctrl+Enter or ⌘+Enter to send it to the author. An understanding of the programming and networking basics is desirable for reading. The solution is written in Python and JavaScript.
Hero lab online add devices code#
The article does not aim to cover all the possible scenarios yet does describe the general approaches based on the specific case.Īll above and below is an author's personal subjective opinion if not stated otherwise.Īll listed code is published under MIT license and does not provide guarantees of any kind. If you are willing to help to improve the translation, please DM me. In this article, I would like to break down my own solution that finally took first place and describe the selected toolset and considerations.ĭisclaimer This is a translation of my original article in Russian I posted in May 2020. The task was definitely not trivial and not widely covered in public blog posts. On a final day, the participants were challenged to automate a topology analysis and visualization of an arbitrary network segment and, optionally, track and visualize the changes. It was a series of educational webinars on network automation followed by daily challenges based on the discussed topics.

Hey everyone! This is a follow-up article on a local Cisco Russia DevNet Marathon online event I attended in May 2020.
