summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
AgeCommit message (Collapse)Author
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
2015-06-18Remove more uptime linesroot
2015-06-17Merge pull request #134 from FlorianDoublet/ironwareModifytti
fix regexp error with ruby 2.1
2015-06-17fix regexp error with ruby 2.1root
2015-06-08Merge pull request #127 from FlorianDoublet/ironwareModifytti
Delete more uptime line, temp line, speed line, for few ironware models
2015-06-08Delete more uptime line, temp line, speed line, for few modelsflorian
2015-05-24Remove 'show inventory' from Cisco SMB model, since they do not recognize ↵Mike Rostermund
the command
2015-05-05Merge branch 'master' into panosrivo nurges
2015-05-05Palo Alto PAN-OS supportrivo nurges
2015-04-28Skip Datetime and Uptime from system informationrivo nurges
2015-04-22When clustered, colon appears in ScreenOS promptrivo nurges
2015-04-21Fix pre_logout in case the configuration is not saved and ScreenOS asks for ↵rivo nurges
confirmation
2015-04-21Fix screenos prompt regexrivo nurges
2015-04-20Merge pull request #107 from FlorianDoublet/ironwareModifytti
Added a less strict prompt
2015-04-20Added a less strict promptflorian
Added less strict prompt
2015-04-17Merge pull request #106 from FlorianDoublet/ironwareModifytti
Changed prompt (too strict)
2015-04-17Changed prompt (too strict)florian
Changed prompt (too strict)
2015-04-16Merge branch 'master' of https://github.com/ytti/oxidizedSaku Ytti
2015-04-16add StringScannerSaku Ytti
there are numerous use-cases for this in models, no point to load in models separately
2015-04-16Add support for PowerConnect 62xxTom Laermans
The pager prompt on the PowerConnect 62xx family does not have a leading space; fixed the expect regex. Also added 6224/6248 to the block ignore regex.
2015-04-16Add support for HP Comware SMB switchesTom Laermans
Some SMB HP switches (V1910, V1920) run Comware, but have the CLI hidden behind a "secret" toggle - it needs to be activated by _cmdline-mode on. The password to enable it varies per model, so this patch introduces a new var, comware_cmdline to contain the password. Unfortunately we cannot easily autodetect this, as only the "summary" command can give us the model number, but this command is paged and we cannot disable the pager until we are in the full CLI. Tested on HP V1910-24G-POE.
2015-04-14Merge pull request #103 from FlorianDoublet/ironwareModifytti
Add a pre_logout for some devices
2015-04-14Add a pre_logout for some devicesflorian
Add an other post_login for some devices and a pre_logout
2015-04-14Add the Cumulus featureflorian
Add the Cumulus feature Add Cumulus feature
2015-04-10ironware model improvementflorian
2015-04-08Merge pull request #100 from rodecker/masterytti
hide enable secret when remove_secret is enabled
2015-04-08hide enable secret when remove_secret is enabledMartin Pels
2015-04-01Add match for 35xx Switches, tidy up regexMrRJ45
Added a check for 35xx switches Also extract only on the model number, not the suffix (P or F) as we dont need that.
2015-03-30PowerConnect Model not skipping some detailsMrRJ45
Some PowerConnect models were skipping fine as "Uptime" for example is shown across one line. Some models show this as a heading, and then lines for each stack member and so this was being included in the configuration. This will skip that "section" which is terminated by the next blank line.
2015-03-26rename fileSaku Ytti
2015-03-26remove whitespace, rename classSaku Ytti
2015-03-23Backup full ASA configuration (include passwords)Stefan Schlesinger
At the old version it didn't backup things like ldap passwords, which ended up in output marked as '****'. pre: ldap-login-password ***** now: ldap-login-password wBGqqqCY5SjZ8hY
2015-03-16Remove traces of telnet supportEric
2015-03-16Added support for Mikrotik RouterOSEric
2015-03-14Also fix logout issue as described in #89Eric
2015-03-14Fix terminal length issues with older powerconnect switches as mentioned in ↵Eric
#89. Fixed by sending both commands and allowing one of them to fail.
2015-03-07Add back ability to use passwordless enable on EOSJ. Brandt Buckley
This commit adds the ability to go into Privileged EXEC mode when no password is required by setting `enable: true`. By default, in Arista EOS you aren't prompted for a password when entering Privileged EXEC (or privilege mode 15) mode. In PR #86, oxidized began always expecting a password. An unquoted `true` in YAML is a boolean. So when `var(:enabled)` is `TrueClass`, we interpret this as meaning that the user wishes to go into Privileged EXEC mode and does not require a password.
2015-03-03fixes for EOS switches with enable secret configuredMartin Pels