summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-24Merge pull request #7 from nopedial/masterytti
finalize fetch API call
2013-10-23cosmetic updatenopedial
2013-10-23finalize fetch API callnopedial
2013-10-15Update file.rbSamer Abdel-Hafez
2013-10-15fix fetch search and broken outputnopedial
2013-10-15enhance fetch supportnopedial
2013-10-14Merge pull request #6 from nopedial/masterytti
Implement fetch method for 'file' output model
2013-10-14bump up software versionnopedial
2013-10-14implement fetch into output modelnopedial
2013-10-10add check and rescue for fetch paramsnopedial
2013-10-10primitive ascii configuration fetch APInopedial
2013-09-06more errors to rescue fromPaul Sherratt
2013-09-05quick fix in rest_client.rbp-sherratt
2013-09-05filter mpls te bandwidth line from config if auto-bw is configured, and ↵p-sherratt
always attempt to enable if :enable password is configured
2013-05-12Merge pull request #5 from nopedial/workflowytti
Add procurve model, enhance powerconnect model, add EHOSTUNREACH rescue to input/ssh.rb
2013-05-12add rescue for Errno::EHOSTUNREACH in input/ssh.rbnopedial
2013-05-12models enhancenopedial
2013-05-01Net::ReadTimeout is ruby 2.0.0 specificSaku Ytti
use TimeoutError for compatibility
2013-05-01Merge pull request #4 from nopedial/work-flowytti
Update powerconnect.rb, catch errors in input.rbs and fix typos in ios.rb
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-29Bump version, fix gemspec permissionSaku Ytti
2013-04-29Merge pull request #2 from nopedial/masterytti
Fix README.md and add cmd to powerconnect model
2013-04-29Fix README.md and add cmd to powerconnect modelSamer Abdel-Hafez
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-27Merge pull request #1 from nopedial/masterytti
Add 'ironware' and 'powerconnect' support
2013-04-27Last fix to README.mdnopedial
2013-04-27README.md fixnopedial
2013-04-27Add models and README.mdnopedial
2013-04-27Fix connction reset on disconnectSaku Ytti
Dell Powerconnect does this
2013-04-27Fix timeout on receiving command from inputSaku Ytti
2013-04-261.9/2.0 compatibility fix + syslogd cleanupSaku Ytti
2013-04-26Gemify + add sort-of-cliSaku Ytti
2013-04-26Fix: telnet exceptions, broken json/ext, typoSaku Ytti
Kudos to Samer Abdel-Hafez for noticing
2013-04-24Remove Sequel modelSaku Ytti
No point creating the model for one-off use, especially with dodgy dynamic consts
2013-04-24Remove useless aliasesSaku 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-21rename 'update' to 'store'Saku Ytti
'store' is more logical, as we cannot know if output method guarantees any version history which 'update' implies.
2013-04-21Add input method fallback, e.g. if ssh does not work, try telnetSaku Ytti
2013-04-20Example of Syslog triggered fetchSaku Ytti
'syslog.rb' listed to UDP port (or reads file). When IOS or JunOS style config change/commit message is seen, it triggers immediate update ot config It transports commit message (junos) remote host from which change was mde (ios) and who made the change (junos+ios). This is carried over to the 'output' methods, that is, 'git blame' will show IOS/JunOS user-name who made the change.
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-19Add restful APISaku Ytti
2013-04-17Initial commitSaku Ytti
Silly for shit-and-giggles attempt at rancid