Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages