Check out this webiste for Juniper "NCE" whitepapers: http://www.juniper.net/techpubs/en_US/release-independent/nce/information-products/pathway-pages/nce/index.html
The goal of this repo is to demonstrate Jinja2/YAML files that implement the configurations.