Skip to content

Basic example of running a command on network devices with Nornir

Notifications You must be signed in to change notification settings

JTIE-6EE7/nornir-basic-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nornir basic examples

Simple examples demonstrating Nornir basics

Inventory

hosts.yaml contains all the devices Nornir will run against

defaults.yaml contains the username, password and platform to be used by Netmiko

nr-run-command.py

nr-run_command.py imports only the needed modules, defines a task to execute the command found in "command_string" and runs that task against all devices found in inventory.

nr-host-data.py

nr-host-data.py demonstrates assigning and accessing data with host variables

About

Basic example of running a command on network devices with Nornir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages