Skip to content

Collection of plugins and functions for nornir that don't require external dependencies

License

Notifications You must be signed in to change notification settings

timeforplanb123/nornir_utils

 
 

Repository files navigation

Documentation test_nornir_utils

nornir_utils

Collection of simple plugins for nornir

Installation

pip install nornir_utils

Plugins

Inventory

  • YAMLInventory - Create an inventory from yaml files
  • load_credentials - Transform function to load credentials from venv

Functions

  • print_result - Formats nicely and prints results on stdout.
  • print_title - Formats nicely a title and prints it on stdout.

Processors

  • PrintResult - Formats nicely and prints results on stdout as soon as they are made available.

Tasks

Data:

  • echo_data - Dummy task that echoes the data passed to it.
  • load_json - Load a JSON file.
  • load_yaml - Load a YAML file.

Files:

  • write_file - Writes content to files

Networking:

  • tcp_ping - Tests connection to a tcp port.

About

Collection of plugins and functions for nornir that don't require external dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.8%
  • Makefile 6.6%
  • Dockerfile 3.6%