summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
AgeCommit message (Collapse)Author
2016-01-26Strip CPU Fan SpeedMike Bryant
On a 6000 series `show inventory` contains a line like `M3mk1 CPU Fan Speed 6490 RPMs` that should be stripped
2016-01-25SSH does not prompt for username/passwordSaku Ytti
Some devices, like Cisco WLC do not authenticate using SSH (ssh is noauth) and actually prompt for auth via shell. CiscoSMB is not one of those kits. We probably should do sepearate bug for the error messages this caused. ``` begin @username ? shell_login : expect(@node.prompt) rescue Timeout::Error raise PromptUndetect, [ @output, 'not matching configured prompt', @node.prompt ].join(' ') end ``` Here Timeout:Error is not raised by ```expect(@node-prompt)``` it is raised by ```shell-login```, which is triggered due to @username prompt set. Potential fixes 1. change the error to more generic one, covering both cases 2. add rescue in 'def shell_login' for Timeout::Error and report it there
2016-01-18do not include executed command name in outputElvin Efendi
2016-01-04Merge remote-tracking branch 'upstream/master' into merge-upstreamElvin Efendi
2015-12-21Update fortios.rbasynet
Changing the regex makes possible to backup devices with FortiOS 4.x and long names
2015-12-17Identify Stackable SwitchesMrRJ45
Change how we identify stackable switches using the word "Unit" to identify this. This is more reliable than identifying the Model number.
2015-12-09keep the config output cleanElvin Efendi
2015-12-07bug fixElvin Efendi
2015-11-23ignore frequently changing monitoring dataElvin Efendi
2015-11-23include executed command into outputElvin Efendi
2015-11-23use paranthesis for method callElvin Efendi
2015-11-23strip temprature and speed measurement from chassis environment outputElvin Efendi
2015-11-23include health and hardware info into configElvin Efendi
2015-11-23added support for Ciena SOAS 6.x device typeJeff Groom
2015-11-13better test framework, more specs and Travis CIElvin Efendi
2015-10-27Typo in Brocade NOS modelHarm van Tilborg
2015-10-20Merge pull request #122 from SaaldjorMike/remove-inventoryytti
Remove 'show inventory' from Cisco SMB model, since they do not recog…
2015-10-20Merge pull request #216 from nickhilliard/bf-comware-nul-promptytti
sometimes the comware prompt might have a leading nul char
2015-10-20add support for Dell networking OS, dnoserefre
Dell Force10 has changed model name from FTOS to DNOS
2015-10-11remove () from nul byte check in comware promptNick Hilliard
2015-10-11sometimes the comware prompt might have a leading nul charNick Hilliard
2015-10-11Add support for Arris C4 CMTSNick Hilliard
2015-10-03occasionally ironware randomly inserts extraneous blank linesNick Hilliard
2015-09-29Ignore save-config warning after exit in XOSTobias Andersson
2015-09-28Merge pull request #194 from skoef/masterytti
made IronWare compatible with older Foundry/Brocade switches
2015-09-28fixes #202Saku Ytti
2015-09-28Merge remote-tracking branch 'ytti/master'Reinier Schoof
Conflicts: lib/oxidized/model/ironware.rb
2015-09-28merged models for older and newerReinier Schoof
- login prompt matches both older and newer version of IronWare - send carriage returns for both versions as it should make no difference - made temperature filters compatible and removed obsolete ’d’ character
2015-09-27Merge pull request #200 from nickhilliard/br-fix-asa-cmd-orderytti
move "show inventory" up
2015-09-27Merge pull request #199 from nickhilliard/br-fix-ironware-show-moduleytti
some ironware devices are fixed config => no modules
2015-09-26move "show inventory" up to stop "show run" from being sandwiched in between ↵Nick Hilliard
comments
2015-09-26some ironware devices are fixed config => no modulesNick Hilliard
2015-09-26put "show run" at the bottom of oxidized outputNick Hilliard
2015-09-26fix white space and CR problems on xos modelNick Hilliard
2015-09-25added model for older Foundry/Brocade model switchesReinier Schoof
Oxidized model for Foundry/Brocade switch models that run IronWare but require carriage return instead of newline on enable command and require different filters for temperature/uptime lines
2015-09-24model/comware: ignore lines with uptime (ingore case!) for realRoman Pertl
2015-09-21Update powerconnect.rbskares
Add :ssh Username and Password login.
2015-09-14Merge branch 'master' of github.com:ytti/oxidized0.8.0Saku Ytti
2015-09-14Fix new line removalSaku Ytti
Probably the intention was cfg.each_line.to_a[1..-3].map(&:rstrip).join("\n") But as it's just incorrectly removed new line from last line, clearly the rstrip has not been needed, so not gonna add it unless proven that it's needed. Spotted by @nickhilliard
2015-09-13smooth over ironware broken encodingNick Hilliard
2015-09-13ironware prompt matches normal configNick Hilliard
2015-09-13workaround for broken ironware cli, which occasionally swallows input ↵Nick Hilliard
without trace
2015-09-06Fix Regex WarningMrRJ45
Fixing Regex Warning on Console: /var/lib/gems/2.1.0/gems/oxidized-0.7.2/lib/oxidized/model/routeros.rb:10: warning: nested repeat operator '+' and '?' was replaced with '*' in regular expression: /\[(?:\d+)?(/
2015-09-02Added support for non-enabled users. Also comment out "show slots"Falk Stern
2015-08-26Add support for MRV MasterOSHannes Rist
2015-08-20fix ZynOS capitalizationSaku Ytti
2015-08-20Added support for Zyxel ZynOSSaku Ytti
Model: SAM1316-22 STU-C ZyNOS version: V3.53(BVE.2)
2015-08-15Update routeros.rbMrRJ45
Fix Prompt as RouterOS seems to send a lot of rubbish (at least using Telnet) Add support for Telnet on RouterOS. Strip any colours from the output also.
2015-07-09Added support for EdgeOSlaf
2015-06-18Merge pull request #136 from FlorianDoublet/ironwareModifytti
Remove more uptime lines