Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Adding stage6 PyEZ lesson - Jinja templates and PyEZ #270

Open
manasasu opened this issue Sep 17, 2019 · 2 comments
Open

Adding stage6 PyEZ lesson - Jinja templates and PyEZ #270

manasasu opened this issue Sep 17, 2019 · 2 comments

Comments

@manasasu
Copy link

manasasu commented Sep 17, 2019

Configuring devices using Jinja2 template
Use the template to configure loopbacks, IP addresses on multiple interfaces
Use the template to configure multiple devices
Import a csv file with data externally to configure devices
Use YAML files in coordination with Jinja2 template for pushing configurations

@Mierdin
Copy link
Member

Mierdin commented Sep 17, 2019

@manasasu Thanks, but can you add some more structure? I'm not sure how to interpret the above re: an action plan for a new addition to a lesson. Some of the lines seem to overlap with each other, or be supersets of each other. Also, this is all meant to be in a single stage? If so I might suggest breaking the content up, as this is a lot to go over, and stages are meant to be around 5 minutes.

Also, it's not clear to me how this furthers the PyEZ lesson. It seems more closely aligned with the existing lesson 16 that covers Jinja2, but even then there's overlap, so if that's the direction you want to go I'd want to know how this will expand on what's there.

Hopefully that makes sense.

@manasasu
Copy link
Author

@Mierdin Jinja2 lesson covers the basic template format and prints out the data. It doesn't show how to use Jinja2 in the context of PyEZ. So it could be an extension of Jinja2 lesson as well. Using the template for configuration deployment via PyEZ.

There are separate sections for Jinja, YAML and PyEZ. But nothing that combines PyEZ with the other two templates together for configuration deployment. So a section that covers how to use PyEZ and Jinja2 together and PyEZ and YAML together for configuring loopbacks, interfaces and multiple devices can be covered as an extension of PyEZ lesson.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants