Skip to content

Simple Cisco configuration generator using python and jinja2; input file is CSV

Notifications You must be signed in to change notification settings

nickbec10/cisco-config-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV Based Config Generator

This repository contains a simple Cisco configuration generator using python and jinja2. This one takes in a CSV parameter file but could easily be modified to use JSON.

Installation

Just clone this repository, then install the necessary python packages. Remember to use take advantage of the virtual environment if you are using one.

To run you need to install Jinja2 to your python environment, using the following command:

$ pip install jinja2

Usage

The script takes 2 command line arguments; a template file to write from and a parameter file to read from. It will output config files into a folder called output.

$ python csv_based_config_generator.py -t template.j2 -c parameters.csv

About

Simple Cisco configuration generator using python and jinja2; input file is CSV

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published