Nornir: Solve Big Problems Fast
summary
Nornir is a native Python automation framework that uses an inventory-task-result model to run Python functions against network hosts. It plugs into Netmox/NetBox, Flask or Django, uses Napalm/Netmiko for device access, and runs threaded workers. A team converts exports to the simple inventory format, runs tasks, and retrieves reports — 8,000 devices in under a week. Performance tests show Nornir is orders of magnitude faster than Ansible for comparable tasks.
AI-written summary · about
chapters (14)
- 0:00Introduction to Nornir
- 3:17Why Nornir over Ansible
- 5:05Nornir's niche in automation
- 8:17Speed comparison with Ansible
- 8:37Core concepts of Nornir
- 10:46Inventory plugins explained
- 13:16Understanding tasks in Nornir
- 16:23Initializing Nornir
- 22:00Filtering inventory in Nornir
- 24:31Running tasks with Nornir
- 27:46Real-world use cases for Nornir
- 31:36Integrating Nornir with NetBox
- 35:14Getting started with Nornir
- 35:56Summary and key strengths
