Home Update Normir gives Python-based network-management automation

Normir gives Python-based network-management automation

269


Nornir, an automation framework that makes use of Python immediately, gives a substitute for different automation frameworks that use their very own domain-specific language (DSL).

The framework can dispatch duties to gadgets and nodes, take care of stock when the consumer has host data, and help the writing of plugins. For troubleshooting, customers can use present debug instruments immediately from Python.

Csco techniques engineer Dmitry Figol, a Normir contributor, says Nornir is extra versatile than Red Hat’s Ansible, an IT automation language that makes use of YAML working on high of Python. Figol claims these advantages for Normir:

  • It gives an abstraction for stock, together with hosts and teams, and concurrent job execution. Developers should not have to put in writing their very own threading.
  • Nornir is simply one other Python library that may be imported.
  • It is flexibile and extensibie.
  • Any troubleshooting, debugging, or testing software can be utilized from the Python ecosystem.
  • Existing libraries, together with netmiko and napalm, are used for connections.
  • Opened connections are robotically closed.
  • Nornir might be built-in with Python frameworks equivalent to Flask or Django. For networking testing, it could possibly combine with the Pytest framework.

Nornir can run as a standalone script and print outcomes to the console. It can also combine with an internet framework. It does require data of Python, Figol stated.

Where to obtain Nornir

Nornir requires Python 3.6 or greater. You can set up Nornir with pip, the Python bundle installer: pip set up nornir.



Source hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here