README
This idea was born because of a need for a simple tool to generate a network topology out of the information obtained from the output of show router interface
command.
Setup
System Libraries
These libraries have been tested under Ubuntu 20.04 and Windows10 with Python3.8.
Ubuntu
pip3 install getTopo
Windows
For Windows users, make sure you have Python and PIP installed.
py -m pip install getTopo
Usage
- Getting data
To obatain the data, use taskAutom where the plugin uses only the
show router inteface
command.
Example: taskAutom -d data -py plugin -j 2
- Parse the outputs with logChecker using as input folder, the one generated at step 1.
Example: logChecker -tf folder_of_templates/ -pre folder_step_1
- Generate the topology.
logChecker
at step 2. will generate an Excel file with the parsed content. Use that as input.
Example: logToTopo -xf excel_step_2 -xs sheet_name
.