summaryrefslogtreecommitdiff
path: root/lib/oxidized
AgeCommit message (Collapse)Author
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)
2018-05-11Merge pull request #1336 from macaty/masterWild Kat
Create stoneos.rb
2018-05-10relax asyncos prompt requirementsWild Kat
2018-05-09reduce logspam - auth methods are debug, not infoWild Kat
2018-05-09tidy up and add references for stoneos modelWild Kat
2018-05-09Create stoneos.rbMarco Li
Add new model of Hillstone Networks StoneOS software
2018-05-07Merge pull request #1334 from gs-kamnas/nxos-refactorytti
Fix debug mode, properly comment NX-OS configs and normalize their line endings.
2018-05-07Convert NX-OS configs to have consistent line endings and comment them ↵Nash Kaminski
properly. Fix typo in launcher script.
2018-05-07Add counters to correctly track the number of runs, successes and failures.Nash Kaminski
2018-05-06Merge pull request #1331 from z00nx/pfsenseWild Kat
Added removal of secrets to pfsense