nr_get_napalm_configs

Extract configuration from devices using NAPALM.

We loop through our inventory and get data from the devices based on task.host.

Module Contents

Functions

get_device_facts_config(task)

Extract facts & configuration from devices with NAPALM's help.

write_facts_config(task)

Dump facts & configuration to file.

main()

Execute the nornir runbook.

Attributes

__author__

__email__

nr

nr_get_napalm_configs.__author__ = 'Hugo Tinoco'
nr_get_napalm_configs.__email__ = 'hugotinoco@icloud.com'
nr_get_napalm_configs.nr
nr_get_napalm_configs.get_device_facts_config(task)

Extract facts & configuration from devices with NAPALM’s help.

nr_get_napalm_configs.write_facts_config(task)

Dump facts & configuration to file.

nr_get_napalm_configs.main()

Execute the nornir runbook.