summaryrefslogtreecommitdiff
path: root/lib/oxidized
AgeCommit message (Collapse)Author
2018-07-31Fix first prompt has non-printable charactersdjamp42
First prompt has Auto-wrap at the start of the prompt, all other prompts do not have this, match 0 or 1 on the auto wrap.
2018-07-31Remove first and Last Line of config filedjamp42
2018-07-31Support for Calix AXOS Devicesdjamp42
I have tested this on a Calix AxOS E5, backups config perfectly. The first line in the config file is the command to show the config, i don't know how to remove this, so if someone tells me i can update it and test again.
2018-07-22Removed unnecessary/illegal/unsupported escape sequence (#1352)KodApa85
2018-07-17Allow enabling without enable passwordSaku Ytti
Fixes #1452
2018-07-13fortios: mask "md5-key" secretsAndreas Loibl
format to match: set md5-key <integer_id> "<md5_key>"
2018-07-07use convenience methods in modelsWild Kat
* use convenience methods in models for legibility * disable Style/SymbolProc in rubocop * introduce cut_both instead of cut_head.cut_tail chain * document cut_both convenience method
2018-07-07Changes to secret filtering:Nick Bailey
Fixed greedy regex's which would eat much of configuration.
2018-07-07Add support for ECI Telecom Apollo platform (#1437)arienv
PR #1437
2018-07-07Changes to secret filtering:Nick Bailey
Fixed secret regex which would strip config after secret string (like "privilege 15") and which would not match on: "bsd-username test secret $1$FAKESTRINGblahblah" which is created whenever username secret is created. Added regex to filter password hashes for configs not using password 7 instead of secret such as: username test password 7 8888blahblah8888 privilege 4
2018-07-01Add Viptela model (closes #1376) (#1427)Brad Searle
2018-06-29Coriant Groove FP3.x only accepts a line length of 4000 chars (#1424)Nick Hilliard
2018-06-27Don't use SSH logger unless input debug is setSaku Ytti
2018-06-26adding node group to worker logsmsil
pr #1420
2018-06-25Tidy up logic for sending 'enable' with or without password (#1418)Brian Candler
2018-06-22Use Oxidized.logger for ssh loggerSaku Ytti
From issue #1414
2018-06-22smell reduction bug fixesSaku Ytti
2018-06-22rubycop fixesSaku Ytti
2018-06-22Merge branch 'refactor-smells'Saku Ytti
2018-06-22rubycop fixesSaku Ytti
2018-06-22Refactor smellsytti
* reduce no/resolve_repo smell * reduce input/ssh/connect smell * reduce source/http load smell * reduce node/worker smell * reduce source/csv smell * reduce output/http smell Get's code climate from B to A, so I'm sure it's super duper important.
2018-06-22ehh what can you doSaku Ytti
2018-06-22reduce http output smellSaku Ytti
2018-06-22remove csv smellSaku Ytti
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