Collection and visualisation of the information collected from the network functions is a crucial component of the network operation. This repository contains a demo consisting of two components:
- SSH client written leveraging the coroutine and AsyncIO framework. The intention is to optimise the performance of the network management application in a way more efficient to threading and much more efficient that a linear code.
- Construction of the network graph and its visualisation into an interactive webpage.
Created and tested in Python 3.7
- asyncio
- asyncssh
- pyvis
- networkx
- pyyaml
- Cumulus Linux
{'nos': 'cumulus'}
- Arista EOS
- Nokia SRL
- Microsoft Azure SONiC
- Nokia SR OS
- Cisco IOS XR
- Install the modules from
requirements.txtusingpip. - Modify the
inventory.yamlfile inside theinventorydirectory per your topology. - Execute the script as
./main.py. - Open in the
outputdirectory filenetwork.htmlto watch your topology based on LLDP.
By using this product you accept the license agreement
If you want to learn how to create such a Python program (and many others), join our netwotk automation training
Release 0.2.1:
- Minor bug fixing.
Release 0.2.0:
- Added functionality of building topology using networkx (for modelling) and pyvis for (visualisation).
Release 0.1.0:
- First release