Embrace the DRY Principal with Network Configuration Templates
Season 2, Talk 4 of NetDevOps Live! looks at the DRY principal (Do not Repeat YourSelf) can be applied to network automation with Jinja and TextFSM based templates.
Full details at http://bit.ly/2IF1DSy
Presenter: Bryan Byrne https://twitter.com/bryan25607
Topics Covered - Time Links
- Agenda 2:06
- The DRY Principal 3:04
- Why Bryan likes DRY 4:17
- Templates and Reusable Code 8:10
- Jinja Templates for Network Automation 11:33
- Loops and Conditionals 13:32
- Example - Jinja Variables 17:48
- Example - Using Jinja.j2 Template Files 21:21
- Example - Loops 23:12
- Example - Conditionals 27:40
- Example - YAML and Data Files 36:33
- Jinja Summary 42:29
- TextFSM 42:54
- TextFSM Templates and RegEx 46:06
- A Basic Example 49:18
- Example - Netmiko and TextFSM 50:52
- TextFSM Summary 55:53
- Summing Up 56:26
- Webinar Resources 57:20
- Code Exchange Challenge 1:00:00
- Contact Info 1:02:00
- Closing Thoughts 1:02:34
Episode Description:
So you're automating your network, that's great. But are you finding yourself writing the same code over and over? Or building the same config snippets every other week? Wouldn’t it be great if you could create powerful, re-usable templates that you could use over?
Imagine a single OSPF template for any type of area, be it normal or stubby. Or a template that configured baseline TACACS, NTP, DNS, and logging no matter the region?
Learn how to make the dream a reality with tools like TextFSM and Jinja!
NetDevOps Live! is produced by Cisco DevNet. Details can be found at https://developer.cisco.com/netdevops/live and follow NetDevOps Live! on Twitter at https://twitter.com/netdevopslive
Видео Embrace the DRY Principal with Network Configuration Templates канала Cisco DevNet
Full details at http://bit.ly/2IF1DSy
Presenter: Bryan Byrne https://twitter.com/bryan25607
Topics Covered - Time Links
- Agenda 2:06
- The DRY Principal 3:04
- Why Bryan likes DRY 4:17
- Templates and Reusable Code 8:10
- Jinja Templates for Network Automation 11:33
- Loops and Conditionals 13:32
- Example - Jinja Variables 17:48
- Example - Using Jinja.j2 Template Files 21:21
- Example - Loops 23:12
- Example - Conditionals 27:40
- Example - YAML and Data Files 36:33
- Jinja Summary 42:29
- TextFSM 42:54
- TextFSM Templates and RegEx 46:06
- A Basic Example 49:18
- Example - Netmiko and TextFSM 50:52
- TextFSM Summary 55:53
- Summing Up 56:26
- Webinar Resources 57:20
- Code Exchange Challenge 1:00:00
- Contact Info 1:02:00
- Closing Thoughts 1:02:34
Episode Description:
So you're automating your network, that's great. But are you finding yourself writing the same code over and over? Or building the same config snippets every other week? Wouldn’t it be great if you could create powerful, re-usable templates that you could use over?
Imagine a single OSPF template for any type of area, be it normal or stubby. Or a template that configured baseline TACACS, NTP, DNS, and logging no matter the region?
Learn how to make the dream a reality with tools like TextFSM and Jinja!
NetDevOps Live! is produced by Cisco DevNet. Details can be found at https://developer.cisco.com/netdevops/live and follow NetDevOps Live! on Twitter at https://twitter.com/netdevopslive
Видео Embrace the DRY Principal with Network Configuration Templates канала Cisco DevNet
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Building a NetDevOps CI/CD Pipeline - Hank Preston (DevNet Create 2018)](https://i.ytimg.com/vi/LinGy8DGIJ8/default.jpg)
![Picking your First Network Automation Project Close](https://i.ytimg.com/vi/_EVVsXiMLUM/default.jpg)
![get started with Ansible Network Automation (FREE cisco router lab)](https://i.ytimg.com/vi/OWKPxAgh9DU/default.jpg)
![How To Use Python On A Web Page With Jinja2 - Flask Fridays #2](https://i.ytimg.com/vi/4yaG-jFfePc/default.jpg)
![Ansible for Network Configuration Templates](https://i.ytimg.com/vi/lUBPAGI9W6U/default.jpg)
![Cisco Zero Touch Provisioning & IPXE with Patrick Warichet](https://i.ytimg.com/vi/XdTGv3iKr9M/default.jpg)
![Variables and Variable Files in Ansible - Aruba Bots Ansible Series 03](https://i.ytimg.com/vi/XJocMWbnvvM/default.jpg)
![NetDevOps CICD Pipelines Can Develop, Test, and Deploy Network Configurations](https://i.ytimg.com/vi/s3iDm0Mw-YE/default.jpg)
![Deep Dive Into Model Driven Programmability with NETCONF and YANG](https://i.ytimg.com/vi/1r_XXA7QX8M/default.jpg)
![Python Tutorial: Automate Parsing and Renaming of Multiple Files](https://i.ytimg.com/vi/ve2pmm5JqmI/default.jpg)
![AAA framework: TACACS+ vs RADIUS](https://i.ytimg.com/vi/LXd2uP1qKDE/default.jpg)
![you need to learn Ansible RIGHT NOW!! (Linux Automation)](https://i.ytimg.com/vi/5hycyr-8EKs/default.jpg)
![Network Automation : pyATS](https://i.ytimg.com/vi/_a5wfdnOC4E/default.jpg)
![The Evolution Of Stealth Technology](https://i.ytimg.com/vi/5ji7H1PnuTo/default.jpg)
![Intro to Ansible with Aruba Switching Modules - Aruba Bots Ansible Series 01](https://i.ytimg.com/vi/VFKJQZS-YXs/default.jpg)
![Python and Jinja2 Cisco Network Automation](https://i.ytimg.com/vi/nxuE3pm4Rtc/default.jpg)
![How to reuse code blocks easily with Jinja2 macros!](https://i.ytimg.com/vi/q9na89PgzGk/default.jpg)
![Location-based automations / device tracking in Home Assistant (2021 Guide)](https://i.ytimg.com/vi/4FXLqsceBxo/default.jpg)
![Nornir Training // Learn the Nornir Python Automation Framework // Lesson 1 - Getting Started](https://i.ytimg.com/vi/NnbtTZyQXkg/default.jpg)
![Nornir (Python Network Automation) | TextFSM & Structured Data!](https://i.ytimg.com/vi/Nvgcvsg6BTM/default.jpg)