Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/NetworkLife/Network-Automation
My network automation scripts
https://github.com/NetworkLife/Network-Automation
Last synced: 6 days ago
JSON representation
My network automation scripts
- Host: GitHub
- URL: https://github.com/NetworkLife/Network-Automation
- Owner: NetworkLife
- Created: 2016-10-11T08:39:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T08:42:39.000Z (about 5 years ago)
- Last Synced: 2024-08-01T19:51:10.420Z (3 months ago)
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 9
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Network Automation Scripts
**Netmiko**
Contains tests of the Netmiko Library.**Python**
Contains Python tests, Regex extractions of MAC, IP addresses...Etc.
- **unit_test_sh_ip_arp.py** - Take a "show ip arp" and transform in a table
- **unit_test_sh_mac.py** - Take a "show mac address-table" and transform in a table
- **concatenate_2_tables.py** - Take two previous tables and concatenate in readable format
- **mac_converter.py** - Convert mac address in EUI, Cisco, Microsoft format.**textFSM**
Contains tests of the textFSM Python module
- **Templates** - Network2code templates for textFSM
- **unit_test_sh_interfaces_to_csv.py - convert "show interfaces" into an exploitable .csv
- **unit_test_sh_interfaces_to_table.py - convert "show interfaces" into an exploitable python list
**backup-multiple-switches-to-tftp**
- "copy run tftp" on multiple devices using Netmiko to backup all your devices in a few seconds.**concatenate-show_ip_arp-and-show_mac_address**
- Concat "show ip arp" and "show mac address-table" to match MAC Addresses with interfaces of all switches.**interfaces-infos-from-multiple-switches-to-csv**
- Extract "show interfaces" from all your switches and put them in an output.csv**inventory-infos-from-multiple-switches-to-csv**
- Extract "show inventory" from all your switches and put them in an output.csv# Disclaimer
I'm not a dev, this is NOT fancy code. It does work (for me at least!) though. You can seriously mess up your network with my scripts if you don't know what you're doing. I take no responsibility for that :)