carlmontanari/scrapli

Feature request?

sngx13 opened this issue · 2 comments

Hi Carl,

I have a suggestion or a 'feature' request, not sure how complex it would be to get this implemented or maybe you know a way around this already?

I'm looking to use Scrapli to logon to a device which has literally been pulled out of a box brand new with no config on. It would therefore be stuck in the configuration dialog i.e.:

Would you like to enter the initial configuration dialog? [yes/no]:

Scrapli times out as it can't find a prompt.

Thank you

This can be handled already.

TL;DR: disable auth (auth_bypass: true), then use read callback and/or just a while true and read off the channel and handle sending input however you want.

You can look at boxen for examples (its go but its functionally the same)