Scrapli & Flask Dashboard

Scrapli & Flask Dashboard

This is a project designed to take care of the basic admin tasks of Cisco hardware.
 
Specifically this gathers device information and adds it to a database. The user only needs the IP addresses of the Cisco devices.
 
A database is then created containing the following;
  • Hostname
  • Management IP address
  • SW Version
  • Chassis Serial
  • OS Type
  • Model
  • Uptime
The database is then displayed to the user once the information has been gathered.
 
This is the first part and shows as an example of what is possible with Scrapli and Flask.
 
alex-kondratiev-yS3XM9qx3hQ-unsplash
Scrapli and Flask - Part 1: GNS3 Lab
This is the lab that will be used for the Scrapli & Flask project. I have this lab setup on an NUC...
alex-kondratiev-yS3XM9qx3hQ-unsplash
Scrapli and Flask - Part 2: Scrapli Testing
A very quick demo of how Scrapli can connect to a device run “show version”. The output can...
alex-kondratiev-yS3XM9qx3hQ-unsplash
Scrapli and Flask - Part 3: Scrapli Integrated into Flask
This is where we start to integrate Scrapli with Flask. Here I have created a very quick website that...
alex-kondratiev-yS3XM9qx3hQ-unsplash
Scrapli and Flask - Part 4: Mass Adding of Devices
Now that Scrapli is able to talk to the Cisco devices and then add that data into the database to be...
Python-Logo-PNG-Image
Scrapli & Flask Project Multi Threading Device Commands
Although this is similar to the previous post of Scrapli Async and Multi threading. The difference is...
Python-Logo-PNG-Image
Passing Variables Between Flask Views
I needed to pass a list of error IP addresses from one Flask view to another. Flask views are just two...
alex-kondratiev-yS3XM9qx3hQ-unsplash
Scrapli and Flask - Part 5: Additional Device Details
In version2, I have made several changes to continue with this project Added device details page for...
alex-kondratiev-yS3XM9qx3hQ-unsplash
Scrapli and Flask - Part 6: Base Config Device Templates
I have added the ability to create a base device template for Cisco IOS, Nexus and IOS-XE.The idea of...
alex-kondratiev-yS3XM9qx3hQ-unsplash
Scrapli and Flask - Part 7: Multicast Dashboard
I have added a multicast page to the web app that demonstrates the ability to pull in details for multicast....
Python-Logo-PNG-Image
Basic Parsing with TextFSM
I have used parsing in other projects. I used Genie and TextFSM to parse Cisco output in order to get...