Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
template
yaml
.gitignore
LICENSE
README.md
configgen.py
example.py

README.md

About Project

This project shows examples of how to use jinja2 to generate configuration files for BGP and IPsec VPN.

System requirements

Tested using:
python 2.7.13
jinja2 2.8
pyaml 3.12
Dependencies
jinja2
 pip install jinja2 
 
pyaml
 pip install pyaml

Example

example.py
This file contains the following examples:
	# template_loader(yml_file, template_file, conf_file)
		  This function generates a configuration file using jinja2 templates.
		  The code for this function is located in a file named configgen.py.

License

Apache License

Author Information

Matthew McGeehan

You can’t perform that action at this time.