This repository contains my python script examples, which are explained in more detail at the Coding Networker Blog.
The following examples are included in this repository:
- Parse CLI outputs with TextFSM - This post describes how to parse CLI outputs using TextFSM. Within the an example, I work with multiple "show inventory" commands from a Cisco IOS device in a single text file.
- Configuration generator with python and Jinja2 - This post describes, how to build a simple configuration generator using python and Jinja2. I'll explain it using CSV and JSON based parameter files.
- Cisco NX-API on Nexus 5500 - This post gives you a short introduction to the Cisco NX-API on Nexus 5500 with NX-OS 7.2
- Custom filters for a Jinja2 based config generator - In this post, I'll explain how to include custom filters in Jinja2 and how to use them within the configuration templates
In the post about Vagrant you can find a description how to execute the examples without affecting your current environment.