kamal3552 / network_interface Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kamilstachura/network_interface
Network Interface - based on Nornir & Scrapli
This project forked from kamilstachura/network_interface
Network Interface - based on Nornir & Scrapli
A network interface for executing ad-hoc show commands across groups of devices based on platform, role, site, their combination, or a list of devices. The ouput is saved in a site- & time-stamped directory within the output folder. This script leverages Nornir for inventory framework and multi-threading, and Scrapli as the connection manager. How to Use: 1. Define your hosts file - This is your network devices' inventory 2. Execute the script by providing the following arguments: Requred arguments - site (-s) & role (-r) OR devices (-d), commands (-c), primary_user (-pu) Optional arguments - platform (-p), backup_user (-bu), maintenance (-m) Example 1 - Execute "show run" & "show ver" against all LEAFs (role) in WARSAW (site) $python network_interface.py -s WARSAW -r LEAF -c "show run" "show ver" -pu <username> Example 2 - Execute "show run" & "show ver" against all SPINEs (role) in all sites running Arista eos $python network_interface.py -s ALL -r SPINE -p eos -c "show run" "show ver" -pu <username> Example 3 - Execute "show run" & "show ver" against all devices in XYZ site running nxos with backup credentials in case some devices may not work with the primary credentials $python network_interface.py -s XYZ -r ALL -p nxos -c "show run" "show ver" -pu <primary_username> -bu <backup_username>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.