Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-24 | Merge https://github.com/p-sherratt/oxidized work | Saku Ytti | |
* IOS model conditional support for enable password * rest_client fix * rescue more errors in ssh | |||
2013-10-23 | finalize fetch API call | nopedial | |
2013-10-15 | Update file.rb | Samer Abdel-Hafez | |
2013-10-15 | fix fetch search and broken output | nopedial | |
2013-10-15 | enhance fetch support | nopedial | |
2013-10-14 | implement fetch into output model | nopedial | |
2013-10-10 | add check and rescue for fetch params | nopedial | |
2013-10-10 | primitive ascii configuration fetch API | nopedial | |
2013-09-06 | more errors to rescue from | Paul Sherratt | |
2013-09-05 | filter 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-12 | add rescue for Errno::EHOSTUNREACH in input/ssh.rb | nopedial | |
2013-05-12 | models enhance | nopedial | |
2013-05-01 | Net::ReadTimeout is ruby 2.0.0 specific | Saku Ytti | |
use TimeoutError for compatibility | |||
2013-05-01 | add latest changes | Samer Abdel-Hafez | |
2013-05-01 | Add Model#expect, support block at post/pre config | Saku 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-29 | Fix README.md and add cmd to powerconnect model | Samer Abdel-Hafez | |
2013-04-29 | Catch 'Errno::ECONNRESET' in Telnet#cmd | Saku Ytti | |
Some devices might throw us out, while we are waiting for command to compelete | |||
2013-04-27 | Add models and README.md | nopedial | |
2013-04-27 | Fix connction reset on disconnect | Saku Ytti | |
Dell Powerconnect does this | |||
2013-04-27 | Fix timeout on receiving command from input | Saku Ytti | |
2013-04-26 | 1.9/2.0 compatibility fix + syslogd cleanup | Saku Ytti | |
2013-04-26 | Fix: telnet exceptions, broken json/ext, typo | Saku Ytti | |
Kudos to Samer Abdel-Hafez for noticing | |||
2013-04-24 | Remove Sequel model | Saku Ytti | |
No point creating the model for one-off use, especially with dodgy dynamic consts | |||
2013-04-24 | Remove useless aliases | Saku Ytti | |
2013-04-21 | Dont reimplement 'cmd', call #cmd from #get | Saku Ytti | |
2013-04-21 | run Model::cmd(:all) for Model#cmd as well | Saku Ytti | |
2013-04-21 | Run 'main' method if it exists | Saku 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-21 | rename '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-21 | Add input method fallback, e.g. if ssh does not work, try telnet | Saku Ytti | |
2013-04-20 | Example of Syslog triggered fetch | Saku 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-19 | Add 'cmd :all' convenience, ran after each command | Saku Ytti | |
Easier screen-scraping, if each command produces always same set of cruft that needs to be removed | |||
2013-04-19 | Add restful API | Saku Ytti | |
2013-04-17 | Initial commit | Saku Ytti | |
Silly for shit-and-giggles attempt at rancid |