summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
AgeCommit message (Collapse)Author
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-29Fix README.md and add cmd to powerconnect modelSamer Abdel-Hafez
2013-04-27Add models and README.mdnopedial
2013-04-27Fix timeout on receiving command from inputSaku Ytti
2013-04-261.9/2.0 compatibility fix + syslogd cleanupSaku Ytti
2013-04-21Dont reimplement 'cmd', call #cmd from #getSaku Ytti
2013-04-21run Model::cmd(:all) for Model#cmd as wellSaku Ytti
2013-04-21Run 'main' method if it existsSaku Ytti
Gives alternative, maybe less awkward way to do conditional commands. You can first use cmd methods to gather stuff you want, then in main method you could conditional to things based on them, maybe futher call methods per model.
2013-04-19Add 'cmd :all' convenience, ran after each commandSaku Ytti
Easier screen-scraping, if each command produces always same set of cruft that needs to be removed
2013-04-17Initial commitSaku Ytti
Silly for shit-and-giggles attempt at rancid