You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very convenient, and I was attempting to take advantage of this but noticed my Nautobot Golden Config backup jobs were still failing. Here is the code trace I've done and what I believe is the root cause of the failure:
However, because we are using a non-standard platform string this mapping fails and throws an exception.
The Ask
Would it be possible to allow us to either also configure the napalm_to_netmiko_map to include our non-standard platform strings, or have some way of passing an overriding platform value when calling the netmiko_send_command task and establishing the Netmiko connection.
Another possibility may be to use the Napalm driver instead, but I also believe there modifications would be necessary to pass a configured platform slug.
I am of course open to any other suggestions or ideas you may have for working around this issue and please let me know if you'd like more information.
The text was updated successfully, but these errors were encountered:
Hello,
I wasn't sure under which Github repository to leave this issue so if I should open it under the nornir_netmiko library instead let me know.
Issue
The nornir_nautobot library allows us to map non-standard platform slugs to the correct [Nornir Dispatcher class].(https://docs.nautobot.com/projects/plugin-nornir/en/latest/user/app_feature_dispatcher/#configuring-the-dispatcher)
This is very convenient, and I was attempting to take advantage of this but noticed my Nautobot Golden Config backup jobs were still failing. Here is the code trace I've done and what I believe is the root cause of the failure:
https://github.com/nautobot/nornir-nautobot/blob/develop/nornir_nautobot/plugins/tasks/dispatcher/default.py
netmiko_send_command
task.https://github.com/ktbyers/nornir_netmiko/blob/develop/nornir_netmiko/tasks/netmiko_send_command.py
https://github.com/ktbyers/nornir_netmiko/blob/develop/nornir_netmiko/connections/netmiko.py
However, because we are using a non-standard platform string this mapping fails and throws an exception.
The Ask
Would it be possible to allow us to either also configure the napalm_to_netmiko_map to include our non-standard platform strings, or have some way of passing an overriding platform value when calling the
netmiko_send_command
task and establishing the Netmiko connection.Another possibility may be to use the Napalm driver instead, but I also believe there modifications would be necessary to pass a configured platform slug.
I am of course open to any other suggestions or ideas you may have for working around this issue and please let me know if you'd like more information.
The text was updated successfully, but these errors were encountered: