summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-16add StringScannerSaku Ytti
there are numerous use-cases for this in models, no point to load in models separately
2015-04-16Merge pull request #105 from sid3windr/patch-1ytti
Add support for PowerConnect 62xx
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-16Merge pull request #104 from sid3windr/patch-1ytti
Add support for HP Comware SMB switches
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-14add note about cumulus linuxSaku Ytti
2015-04-14Merge pull request #103 from FlorianDoublet/ironwareModifytti
Add a pre_logout for some devices
2015-04-14Merge pull request #102 from FlorianDoublet/addCumulusFeatureytti
Add the Cumulus feature
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-10Merge pull request #101 from FlorianDoublet/ironwareModifytti
ironware model improvement
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-03add tagging to rake pushSaku Ytti
2015-04-03version 0.5.00.5.0Samer Abdel-Hafez
2015-04-01Merge pull request #99 from MrRJ45/patch-1ytti
Add match for 35xx Switches, tidy up regex
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-31Merge pull request #98 from MrRJ45/patch-2ytti
Some Git libraries cant see initial commit
2015-03-31Some Git libraries cant see initial commitMrRJ45
Using some libraries, in this case pygit2 the initial commit cannot be seen, a change and new commit fixes this. Adding index.write appears to be a simple fix, as confirmed in this rugged issue: https://github.com/libgit2/rugged/issues/441
2015-03-30Merge pull request #96 from MrRJ45/patch-1ytti
PowerConnect Model not skipping some details
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-30Merge pull request #95 from MrRJ45/patch-1ytti
Add Support for Cisco Devices with VSS
2015-03-30Add Support for Cisco Devices with VSSMrRJ45
Devices with VSS enabled log Configuration Changes as "%SYS-SW1-5-CONFIG_I" where "SW1" is an identifier of the device in the stack that it came from. (Also added a bit of information of port numbers)
2015-03-26rename fileSaku Ytti
2015-03-26remove whitespace, rename classSaku Ytti
2015-03-23Merge pull request #94 from sts/patch-2ytti
Backup full ASA configuration (include passwords)
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-16Merge pull request #93 from emjemj/masterytti
Added support for Mikrotik RouterOS
2015-03-16Remove traces of telnet supportEric
2015-03-16Update changelog to reflect previous commitsEric
2015-03-16Added support for Mikrotik RouterOSEric
2015-03-14Merge pull request #91 from emjemj/masterytti
Fix terminal length issues with older powerconnect switches
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-13default to port 514Saku Ytti
2015-03-13support giving UDP port as argumentSaku Ytti
2015-03-13fix rest_client requireSaku Ytti
2015-03-13More examplesSaku Ytti
From issue #45
2015-03-10Add gem badgeSamer Abdel-Hafez
2015-03-10Bugfixes and bump to 0.4.1Samer Abdel-Hafez
2015-03-08Merge pull request #88 from brandt/interpret_true_as_no_passwordytti
Add back ability to use passwordless enable on EOS
2015-03-08Merge pull request #87 from brandt/return_nil_on_missing_output_fileytti
Fix: Handle missing output file
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-07Fix: Handle missing output fileJ. Brandt Buckley
If no output file is found, return nil. Previously, it would try to find the output file by doing a recursive glob search in the config dir. It would then try to open the file for reading regardless of whether any file was found. I ran into this when I fired up oxidized for the first time and tried to access a switch config on oxidized-web before it had a chance to collect it. In this scenario, you get a stack trace on the switch config page (e.g. `http://oxidized.example.com:8888/node/fetch/switch-001.example.com`): ``` Puma caught this error: undefined method `join' for #<String:0x007f3a3c4283f8> (NoMethodError) /usr/lib64/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:37:in `rescue in call' /usr/lib64/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:21:in `call' /usr/lib64/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in `call' /usr/lib64/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in `call' /usr/lib64/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `block in call' /usr/lib64/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in `synchronize' /usr/lib64/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `call' /usr/lib64/ruby/gems/2.2.0/gems/rack-1.6.0/lib/rack/urlmap.rb:66:in `block in call' /usr/lib64/ruby/gems/2.2.0/gems/rack-1.6.0/lib/rack/urlmap.rb:50:in `each' /usr/lib64/ruby/gems/2.2.0/gems/rack-1.6.0/lib/rack/urlmap.rb:50:in `call' /usr/lib64/ruby/gems/2.2.0/gems/rack-1.6.0/lib/rack/builder.rb:153:in `call' /usr/lib64/ruby/gems/2.2.0/gems/puma-2.11.1/lib/puma/server.rb:507:in `handle_request' /usr/lib64/ruby/gems/2.2.0/gems/puma-2.11.1/lib/puma/server.rb:375:in `process_client' /usr/lib64/ruby/gems/2.2.0/gems/puma-2.11.1/lib/puma/server.rb:262:in `block in run' /usr/lib64/ruby/gems/2.2.0/gems/puma-2.11.1/lib/puma/thread_pool.rb:104:in `call' /usr/lib64/ruby/gems/2.2.0/gems/puma-2.11.1/lib/puma/thread_pool.rb:104:in `block in spawn_thread' ```
2015-03-06Log prompt detection failuresSamer Abdel-Hafez
2015-03-03Merge pull request #86 from rodecker/masternopedial
fixes for EOS switches with enable secret configured
2015-03-03fixes for EOS switches with enable secret configuredMartin Pels
2015-03-03Merge pull request #85 from rodecker/masternopedial
make README match vars_map variable used in csv.rb and sql.rb
2015-03-03make README match vars_map variable used in csv.rb and sql.rbMartin Pels