Normir offers Python-based network management automation

Global communication network concept
Automation framework Normir promises to be more flexible than Ansible (Image metamorworks/iStockPhoto)

Nornir, an automation framework that uses Python directly, provides an alternative to other automation frameworks that use their own domain-specific language (DSL).

The framework can dispatch tasks to devices and nodes, deal with inventory when the user has host information, and support the writing of plugins. For troubleshooting, users can use existing debug tools directly from Python.

  • It provides an abstraction for inventory, including hosts and groups, and concurrent task execution. Developers do not have to write their own threading.
  • Nornir is just another Python library that can be imported.
  • It is flexibile and extensibie.
  • Any troubleshooting, debugging, or testing tool can be used from the Python ecosystem.
  • Existing libraries, including netmiko and napalm, are used for connections.
  • Opened connections are automatically closed.
  • Nornir can be integrated with Python frameworks such as Flask or Django. For networking testing, it can integrate with the Pytest framework.

Nornir can run as a standalone script and print results to the console. It also can integrate with a web framework. It does require knowledge of Python, Figol said.

Where to download Nornir

Nornir requires Python 3.6 or higher. You can install Nornir with pip, the Python package installer: pip install nornir.



Suggested Articles

Verizon Media will expand its Yahoo Studio production studio in Hong Kong as part of its growth strategy for the market

Cloud security solutions provider Bitglass' regional channel boss Brendon Thwaites has left the company

An agreement links Cisco Meraki MX Security/SD-WAN appliances and its Auto VPN technology to Teridion’s cloud-based WAN service