Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jul 3, 2018
The recording of the network programmability streamwhich occurred on 2018/07/01
On this stream we had the first look at Nornir - Python automation framework written by David Barroso, Patrick Ogenstad and Kirk Byers. Previously, this project was known as Brigade but got recently renamed. Nornir feels very similar to Ansible but has some drastic changes in comparison: while Nornir can use declarative inventory and vars files in YAML format (or any other format), similar to Ansible, Nornir "playbooks" are written in pure Python instead of YAML. This removes any limits introduced by Ansible/YAML declarative style of your tasks. Also Nornir uses Python multithreading, which scales much better than Ansible multiprocessing (forks), especially in the networking context, where network (I/O) is the bottleneck, not CPU. Additionally, because Nornir is 100% Python, it is very easy to write new plugins or tasks, if you know Python. It is a very young project, but it has a lot of potential.
Timecode: 0:00 - Introduction, news and announcements 15:02 - Why Nornir? Ansible vs Nornir 28:08 - Lab environment 37:12 - Getting started with Nornir 39:50 - Nornir: inventory 1:15:30 - Nornir: inventory filtering 1:38:45 - Nornir: running tasks 2:00:00 - Nornir: network configuration using templates and NAPALM 2:30:13 - Nornir: network configuration using templates and netmiko 2:40:57 - Nornir: Ansible inventory plugin 2:55:04 - Nornir: sending REST API calls - GNS3 API example 3:04:00 - Stream summary