nr_get_nso_device_facts
Script will collect device information from NSO via the API.
We loop through our inventory and get data from the devices based on task.host.
Module Contents
Functions
|
Make a REST API call to our NSO instance to extract device information. |
|
Dump facts to a file. This is helpful to review NSO returned data. |
|
Execute the nornir runbook. |
Attributes
- nr_get_nso_device_facts.__author__ = 'Hugo Tinoco'
- nr_get_nso_device_facts.__email__ = 'hugotinoco@icloud.com'
- nr_get_nso_device_facts.nr
- nr_get_nso_device_facts.get_nso_devices(task)
Make a REST API call to our NSO instance to extract device information.
- nr_get_nso_device_facts.write_restconf_data(task)
Dump facts to a file. This is helpful to review NSO returned data.
- nr_get_nso_device_facts.main()
Execute the nornir runbook.