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
Auf dieser Seite können Sie das Online-Video Python Network Programming Techniques | 3. Building Configuration Templates Using Jinja2 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code in Action 12 August 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 488 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!