nautobot / nornir-nautobot

Nornir inventory and plugins for Nautobot.
https://docs.nautobot.com/projects/nornir-nautobot/en/latest/
31 stars 25 forks source link

Error doesn't catch certain versions of cisco input invalid string #142

Closed jeffkala closed 6 months ago

jeffkala commented 7 months ago

https://github.com/nautobot/nornir-nautobot/blob/9f9e2f48fa56ea020ee84a79871fa0309a447d08/nornir_nautobot/plugins/tasks/dispatcher/default.py#L484

Some versions of cisco_ios(xe) don't have ERROR: in the output. This can cause the backup configuration to actually be saved as

               ^
% Invalid input detected at '^' marker.
jeffkala commented 6 months ago

duplicate of #64