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.
These libraries have been tested under Ubuntu 20.04 and Windows10 with Python3.8.
pip3 install getTopoFor Windows users, make sure you have Python and PIP installed.
py -m pip install getTopo- Getting data
To obatain the data, use taskAutom where the plugin uses only the
show router intefacecommand.
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.
logCheckerat step 2. will generate an Excel file with the parsed content. Use that as input.
Example: logToTopo -xf excel_step_2 -xs sheet_name.