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
On this page of the site you can watch the video online Python Network Programming Techniques | 3. Building Configuration Templates Using Jinja2 with a duration of hours minute second in good quality, which was uploaded by the user Code in Action 12 August 2021, share the link with friends and acquaintances, this video has already been watched 488 times on youtube and it was liked by 1 viewers. Enjoy your viewing!