summaryrefslogtreecommitdiff
path: root/lib/oxidized/input/telnet.rb
AgeCommit message (Collapse)Author
2015-03-06Log prompt detection failuresSamer Abdel-Hafez
2014-08-08Support creating session log of telnet/sshSaku Ytti
If you have input: debug: session_log Then session_log-telnet and session_log-ssh will be created showing what the telnet/ssh saw. Helpful in model development.
2014-04-15Waittime => TimeoutSaku Ytti
Waittime is how long it waits for /more/ input /after/ matching to RE. This has been wrong always in Oxidized but only after changing default timeout to 30, it became apparent. When timeout was 5s, it just gave 5s delay to every command, now it gives 30s delay.
2014-04-14Use 'asetus' for configuration filesSaku Ytti
Main benefits a) we get support for system wide configs b) we don't use symbols in config file, they're confusing to non-rubyist
2014-04-13smarter match for IP address in nodesSaku Ytti
- add 'connnected?' method to ssh/telnet to query if or not we're connected - subclass OxidizedError from StandardError, all future OxidizedErrors should be subclasssed from this.
2014-03-05Add AireOS supportSaku Ytti
Crappy Cisco WLC 5k, much quality, very implementation, such secure * stop pre_logout from expecting prompt by default
2014-03-01Add Model#output methodSaku Ytti
Outputs about what we've seen last in input class. Quite dirty in telnet, so not sure I'm going to support it. Let's see if there is use-case for it.
2014-02-10Handle exceptions with different log levelsSaku Ytti
2014-02-07Ignore ssh keys, change input exceptionsSaku Ytti
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.
2013-09-06more errors to rescue fromPaul Sherratt
2013-05-01Net::ReadTimeout is ruby 2.0.0 specificSaku Ytti
use TimeoutError for compatibility
2013-05-01add latest changesSamer Abdel-Hafez
2013-05-01Add Model#expect, support block at post/pre configSaku Ytti
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.
2013-04-29Catch 'Errno::ECONNRESET' in Telnet#cmdSaku Ytti
Some devices might throw us out, while we are waiting for command to compelete
2013-04-27Fix connction reset on disconnectSaku Ytti
Dell Powerconnect does this
2013-04-27Fix timeout on receiving command from inputSaku Ytti
2013-04-26Fix: telnet exceptions, broken json/ext, typoSaku Ytti
Kudos to Samer Abdel-Hafez for noticing
2013-04-17Initial commitSaku Ytti
Silly for shit-and-giggles attempt at rancid