Closed mdeng10 closed 2 years ago
Expected behavior, see this example comments in there explain why. scrapli-cfg can load and merge/replace config w/out this caveat. TL;DR scrapli dislikes the "vi-like" mode that banners/macros put you into. you can send eager flag, but just using scrapli-cfg is the better option.
appreciate the swift response, functionality is working as intended setting the eager flag!
Hi Carl,
Device type: IOSXE I'm attempting to update the login banner via nornir scrapli and it's timing out, i have no problems doing the following
The above returns an expected
MultiResult
with the relevant details and the switch has the new login banner reflected when attempting to log in.However, when attempting to do a multi line login banner through the following
Nornir Scrapli times out and fails to finish the request - the following all fail as well
I've had a look through existing issues and wasn't able to find a relevant one - but i did find this similar problem with netmiko so perhaps the problem might be related - https://github.com/ktbyers/netmiko/issues/1531
I also notice that when it fails, the banner gets reset (and then the workflow times out) so it seems it seems like it might get everything.
Is this an error or have I made a mistake when attempting to do multiline commands