Python Network Programming Techniques | 3. Building Configuration Templates Using Jinja2

Pubblicato il: 12 agosto 2021
sul canale di: Code in Action
488
1

Python Network Programming Techniques is available from:
Packt.com: https://bit.ly/3fRGund
Amazon: https://amzn.to/38I6AVw

This is the “Code in Action” video for chapter 3 of Python Network Programming Techniques by Marcel Neidinger, published by Packt. It includes the following topics:
00:11 Loading Jinja2 templates in Python
00:27 Passing variables from Python to a template
00:47 Writing your rendered template to a file
01:16 Using for-loops in Jinja2 to configure an access list
01:37 Creating a port configuration template using if-clauses in Jinja2
02:00 Creating modular templates using Jinja2’s import methods
02:22 Using Python functions from within your template with Jinja2 filters
02:42 Structuring your configuration template with blocks and template inheritance
Leverage Python 3 to begin your infrastructure automation journey and become well-versed with network automation. With real-world scenarios and hands-on examples, this book will teach you how to use Python to automate simple to complex infrastructures with ease.
Connect with Packt:
Find us on Facebook:   / packtpub  
Find us on Twitter:   / packtpub  

Video created by Marcel Neidingel


In questa pagina del sito puoi guardare il video online Python Network Programming Techniques | 3. Building Configuration Templates Using Jinja2 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code in Action 12 agosto 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 488 volte e gli è piaciuto 1 spettatori. Buona visione!