nr_add_device_nso
This script will utilize the Nornir inventory to add devices into NSO.
Please update the NSO IP / Port information to match your environment. Please review the payload that’s rendered from the Jinja2 template.
Module Contents
Functions
|
This runbook will generate a Jinja2 Template to add a device to NSO. |
|
Execute all nornir tasks. |
Attributes
- nr_add_device_nso.__author__ = 'Hugo Tinoco'
- nr_add_device_nso.__email__ = 'hugotinoco@icloud.com'
- nr_add_device_nso.nr
- nr_add_device_nso.update_nso_devices(task)
This runbook will generate a Jinja2 Template to add a device to NSO.
- nr_add_device_nso.main()
Execute all nornir tasks.