-
I am new to Nornir, so apologies for the probably elementary question, however I am attempting to use Nornir to reach out to a collection of switches to run some tasks and am running into a lot of issues that I am slugging my way through one at a time. I need to:
I have been trying to find documented examples and figure it out by trial and error, but I am having a hard time finding documentation of this. It looks like napalm_get might be my best bet for collecting the interfaces and then using some logic, but using that raises 'napalm.base.exceptionsModuleImportError: Please provide a valid driver name.' What am I missing? My lab switches are a mix of Cisco IOS, IOS-XE, and NX-OS switches. My code snippet provided below. Any insight would be greatly appreciated, thanks in advance!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
What does your |
Beta Was this translation helpful? Give feedback.
What does your
config.yml
and inventory files look like? It sounds like you are not specifying theplatform
in inventory.