Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-07 | Add AOS (ALU OmniSwitch) support | Saku Ytti | |
Specifically AOS 6, vxworks era, not linux era 7 | |||
2014-02-07 | Ignore ssh keys, change input exceptions | Saku 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-10-26 | set group to nil if no group is defined | nopedial | |
2013-10-26 | fix logic | nopedial | |
2013-10-26 | cleanup ascii API output | nopedial | |
2013-10-26 | clean ascii API output | nopedial | |
2013-10-26 | add primitive plain ascii API output support | nopedial | |
2013-10-26 | add fetch API to git output | nopedial | |
2013-10-25 | Fix fetch method | Saku Ytti | |
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 |