Nornir
Installation
Plugin Installation
Configuration
hosts.yml
---
host1.cmh:
hostname: 127.0.0.1
port: 2201
username: vagrant
password: vagrant
platform: linux
groups:
- cmh
data:
site: cmh
role: host
type: host
nested_data:
a_dict:
a: 1
b: 2
a_list: [1, 2]
a_string: "asdasd"
host2.cmh:
hostname: 127.0.0.1
port: 2202
username: vagrant
password: vagrant
platform: linux
groups:
- cmh
data:
site: cmh
role: host
type: host
nested_data:
a_dict:
b: 2
c: 3
a_list: [1, 2]
a_string: "qwe"groups.yaml
defaults.yaml
Filtering
Using Filter Function
Using plugins
Netbox
config.yaml
runbook.py
Napalm
Reference
Last updated