napalm-automation / napalm-base

Apache License 2.0
32 stars 48 forks source link

Proposal: NAPALM Development Kit #184

Open pkleanthous-zz opened 7 years ago

pkleanthous-zz commented 7 years ago

Abstract

This proposal discusses the contribution of creating a Development Kit (DK). The NAPALM development kit will contain all the tools you need to develop and test your network infrastructure.

Testing Jinja2 Templates

As a first step, I have created a PoC of how we can test jinja2 templates based on a given input and an expected output. Here you can find the repo.

dbarrosop commented 7 years ago

I think it's really interesting. If you don't mind, I am going to leave this open. I am now working on having support for yang/OC models in napalm. One interesting features I want to have is to translate those models to native configuration so this testing framework will be a great addition to test that works as expected.