Managing network configurations with Python automation frameworks NAPALM and Nornir

preview_player
Показать описание
Season 1, Talk 9 of NetDevOps Live! Stuart Clark introduces two open source network automation frameworks available for NetDevOps engineers to consider - Napalm and Nornir.

Topics Covered - Time Links
- Introduction
- Napalm 1:51
- Installation 2:21
- Device Support 3:10
- Data Gathering and Configuration Flows 5:28
- What can you do? 6:52
- Demo 14:27
- Example Getting Facts 15:22
Looking at Code 19:36
- Example Configuring Devices 24:31
Looking at Code 27:04
- Example Replace Operation 29:56
Looking at Code 31:46
- Example Rollback Operation 34:28
Looking at Code 36:28
- Nornir 37:39
- Installation 38:15
- Inventory 38:50
- Demos 43:18
- Example Validation Commands 43:59
Looking at Code 44:51
- Example Dynamic Commands 45:41
Looking at Code 47:54
- Contribution to Napalm and Nornir 50:00
- Summary 51:33
- Webinar Resources 52:13
- Code Exchange Challenge 53:24
- Contact Info 54:20

Episode Description:
While many engineers and enterprises are looking at tools like Ansible or Puppet to manage network configurations, others find working directly with Python and having access to the full possibilities that it provides a more powerful and flexible solution. In these cases, network automation frameworks like NAPALM and Nornir are excellent tools and choices to explore and use.

In this talk, we'll discuss some of the benefits of direct Python configuration management strategies and then explore the very mature and widely used tool, NAPALM, as well as the new and up-and-coming option Nornir. We'll look at how with very simple and straightforward Python code, you can quickly build powerful solutions to ensure the exact configuration are deployed and operating in your network.

Рекомендации по теме
Комментарии
Автор

@stuart, it bit funny to me when we say nornir is not DSL and use purely python based but we define host.yaml and group.yaml files in YAML :)

muhammad.rafi
Автор

Is it possible to run a scan and do an audit to discover how many/if there are any switches on your network? Is there an example of this I can follow? Thanks! I want to do an audit/inventory of all our switches in our Global WAN and there are probably 500-600 switches and wanted to save myself some time. Thanks!

EyeIn_The_Sky