summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2018-06-22remove worker smellSaku Ytti
2018-06-22remove source/http load smellsSaku Ytti
2018-06-22remove SSH::connect smellSaku Ytti
2018-06-22Remove resolve_repo smellsSaku Ytti
2018-06-22enable SSH logging if input logging is trueSaku Ytti
2018-06-21added telnet password prompt detection for Netgears. (#1413)KodApa85
Tested on Netgear M5300's running firmware 10.0.0.53, 11.0.0.23 & 11.0.0.31
2018-06-19Unintentional config changes in legacy xos, closes #1348 (#1362)Bartek
2018-06-14Scrub uptime in ciscosmb more carefully, closes #1398 (#1400)Wild Kat
Scrub uptime in ciscosmb more carefully, closes #1398
2018-06-14scrub temperature from 'show system' in edgecos, closes #1394 (#1399)Wild Kat
2018-06-14bump up versionSaku Ytti
2018-06-14Fix 1385 - telnet brokenytti
Refactor to common login method to ssh/telnet was broken, as common login method made assumptions of expect and cmd API which weren't true for telnet. telnet.rb updated to resemble ssh.rb API.
2018-06-14Correct typo in D-Link model (#1396)Wild Kat
2018-06-14relax d-link prompt expectations, closes #1389 (#1392)Wild Kat
2018-06-14Model callback enhancementytti
Allows cfg, cmd, pre, post and expect blocks to reset the callback array or change from push to unshift. Use case is in custom models which monkey-patch the distribution model. You might want to replace for example distribution ```cmd :secret``` with your own version, like such: cmd :secret clear: true do ... end Or if you instead want to unshift your block to be first to be called: cfg :ssh do prepend: true do .. end Closes #1384
2018-06-13ciscosmb uptime filter is for show system (#1388)Wild Kat
2018-06-13Feature string navigation for HTTP source API JSONytti
Allow HTTP API to place host array in arbitrary place defined as: hosts_location: a.b[0].c Also support arrays in mapping keys: key: location[0].is.here[2]
2018-06-12allow configurable history size in statsSaku Ytti
2018-06-12rubycop fixSaku Ytti
2018-06-12useless branchingSaku Ytti
It will always be MAX_SIZE+1 after push
2018-06-12Honor mtime in statsSaku Ytti
Store N last mtimes
2018-06-12Merge branch 'master' of github.com:ytti/oxidizedSaku Ytti
2018-06-12add mtime and bump up versionSaku Ytti
Fixes performance regression
2018-06-11Add support for frr in new versions of cumulus - closes #1087 (#1375)Brad Searle
2018-06-08Remove more JunOS secrets (#1359)Zmegolaz
* Remove more JunOS secrets * Removed redundant junos secret replacements. Updated changelog. * Moved this change to Master in the changelog.
2018-06-08rc 0.57.1, fixup, todo + drop rails_best_practices (#1372)Wild Kat
2018-06-08We should resolve model firstSaku Ytti
So that input/output can be configured under model
2018-06-07Fix IP address assingmentSaku Ytti
Unsure what problem was being solved here originally, wish I had tests for expected behaviour :)
2018-06-07Updated HPE Comware - Issue #611 Fix (#1305)Adam
This change works for newer HPE Comware model switches and *shouldn't* cause any issues with the previous Comware models although past functionality hasn't been tested as I don't have an older model.
2018-06-07Refactor manager, take2Saku Ytti
Make all the add_* return falsy valuem and make all the callers raise, this has benefit that the caller has more information, like it can tell what node we were trying to load when model failed to load. We were only failing to do this in two places in the code, source and plugin.
2018-06-07oops, actually add the class to sourceSaku Ytti
2018-06-07Fix local file loadingSaku Ytti
Local files could never be loaded, as the name does not contain file extension, so check for their existance would always fail.
2018-06-07make login username/passord detection genericSaku Ytti
2018-06-07Refactor managerSaku Ytti
Main problem we're trying to solve is the silent failures. Requiring files will never fail, one user had problem loading their souce http.rb, which is obviously mandatory for them, but because it didn't fail, it lead to a much harder to understand bug down the line, as we tried to instansiate the 'nil' source. Reason why I did it like this was laziness, because I didn't have to care if or not the file exists, I always tried to load locally defined models, and just return empty hash if I couldn't find any. There may be other reasons and reliances that I've forgotten, but we'll fix them as they come. Such is life without proper testing.
2018-06-05edgecos overly verbose memory and uptime (#1366)Bartek
2018-06-03Add instructions to install ICUSaku Ytti
Since https://github.com/ytti/oxidized-web/commit/1d65a7999a9712b72976abd7a968f3c520d94d96 added charlock_holmes which requires ICU to be installed
2018-06-03bump up versionSaku Ytti
2018-06-03rubycop fixesSaku Ytti
2018-06-03fix testsSaku Ytti
2018-06-03Generalise stats countersSaku Ytti
Related to PR #1333 by @gs-kamnas
2018-06-03Merge pull request #1250 from vppencilsharpener/FortiOS-Pushytti
Rework the Exclusions for FortiOS
2018-06-03Create openbsd.rb (#1356)Albert Martinez
OpenBSD model implementation.
2018-05-30Rubocop fixSaku Ytti
2018-05-30rubocop fixesSaku Ytti
2018-05-30Add support for CambiumSaku Ytti
Initial HTTP support
2018-05-26Merge branch 'master' into FortiOS-PushWild Kat
2018-05-26clean up and rubocop complianceWild Kat
2018-05-26Comnet Microsemi Switch support (#1346)Juho Ylikorpi
* ComnetMicrosemiSwitch support
2018-05-19Update fortios.rb (#1345)benjaminAco
Remove SNMP v3 Auth & Priv Password.
2018-05-17Fix telnet (#1343)Bas van Elburg
* Fixed: fix debug logging (passed @log to telnet) * Fixed: call closed on sock of telnet instead of telnet
2018-05-11Enable 'enable' support for HP ProcurvesRobert (KHobbits)