Normir offers Python-based network-management automation

try {
threshold : 0, // You can set threshold on how close to the edge ad should come before it is loaded. Default is 0 (when it is visible).
forceLoad : false, // Ad is loaded even if not visible. Default is false.
onLoad : false, // Callback function on call ad loading
onComplete : false, // Callback function when load is loaded
timeout : 1500, // Timeout ad load
debug : false, // For debug use : draw colors border depends on load status
xray : false // For debug use : display a complete page view with ad placements
}) ;
catch (exception){
console.log(“error loading lazyload_ad ” + exception);

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.

Csco systems engineer Dmitry Figol, a Normir contributor, says Nornir is more flexible than , an IT automation language that uses YAML running on top of Python. Figol claims these benefits for Normir:

  • 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.