Skip to content

Network Template Renderer - A CLI network [tem]plate [ren]derer takes variables (from a JSON) a template (from a JINJA2) and renders the result

Notifications You must be signed in to change notification settings

anotherbhav/temren

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

temren

  • Network Template Renderer - A CLI network [tem]plate [ren]derer takes variables (from a YAML) a template (from a JINJA2) and smooshes them together and renders the result

Requirements

  • python3
  • python modules [ pyyaml jinja2 ]

Assuming you are on OSX and have brew, you can do something like the following to meet the requirements

brew install python3
pip3 install pyyaml jinja2

Getting Started

Clone This Repo:

git clone https://github.com/anotherbhav/temren.git

List sample Templates

./temren.py --list

Render a Template:

./temren.py --config sample1_cisco_uplinks.yaml

About

Network Template Renderer - A CLI network [tem]plate [ren]derer takes variables (from a JSON) a template (from a JINJA2) and renders the result

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages