Skip to content
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@dbarrosop @ogenstad @dmfigol
79 lines (59 sloc) 3.13 KB

Welcome to nornir's documentation!


Nornir is an automation framework written in python to be used with python. Most automation frameworks hide the language they are written in by using some cumbersome pseudo-language which usually is almost Turing complete, but lacks tooling to debug and troubleshoot. Integrating with other systems is also usually quite hard as they usually have complex APIs if any at all. Some of the other common problems of those pseudo-languages is that are usually quite bad at dealing with data and re-usability is limited.

Nornir aims to solve those problems by providing a pure python framework. Just imagine Nornir as the Flask of automation. Nornir will take care of dealing with the inventory where you have your host information, it will take care of dispatching the tasks to your devices and will provide a common framework to write "plugins".

Nornir requires Python 3.6.2 or higher to be installed.

How the documentation is structured

Is something missing from the documentation? Please open an issue and tell us what you are missing or open a pull request and suggest an improvement.

A first glance

Here is an example on how to quickly build a runbook leveraging Nornir to retrieve information from the network:

from nornir import InitNornir
from nornir.plugins.functions.text import print_result
from nornir.plugins.tasks.networking import napalm_get

nr = InitNornir(
    config_file="nornir.yaml", dry_run=True

results =
    task=napalm_get, getters=["facts", "interfaces"]

You can find this and other examples here.


.. toctree::
   :maxdepth: 1

   Home <self>
   Tutorials <tutorials/intro/index>
   Howto <howto/index>
   Contribute <contributing/index>
   Changelog <changelog/index>

Indices and tables

You can’t perform that action at this time.