Custom filters for a Jinja2 based Config Generator

Custom filters for a Jinja2 based Config Generator

This week, I’ll show you how to integrate custom filters into your Jinja2 templates. The use case from this post is based on the idea of a feature-centric and vendor independent parameter set for the configuration of network devices. We will see how custom filters could be helpful to generate configurations for multiple vendors based on a common parameter set.