Age | Commit message (Collapse) | Author |
|
Now input ssh has configuration secure which is false by default,
meaning we don't care about changing keys. It breaks ssh security model
but rancid does it too.
Also input models error handling is now mostly moved to node.rb for
centralized handling + logging. With input models only defining which
errors they want to receover from.
|
|
|
|
use TimeoutError for compatibility
|
|
|
|
Now we can deal with pager and additional PW prompts, such as 'enable'
Examples in IOS model how to use.
The Telnet implementation is particularly fugly, I just need one line in
'waitfor' to handle pager while waiting for prompt, but couldn't figure
out clean way to do it, so needed to rewrit whole Telnet#waitfor just to
add that line.
|
|
Some devices might throw us out, while we are waiting for command to
compelete
|
|
Dell Powerconnect does this
|
|
|
|
Kudos to Samer Abdel-Hafez for noticing
|
|
Silly for shit-and-giggles attempt at rancid
|