Age | Commit message (Collapse) | Author |
|
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
|
|
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+)?(/
|
|
|
|
|
|
|
|
Model: SAM1316-22 STU-C
ZyNOS version: V3.53(BVE.2)
|
|
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.
|
|
|
|
Remove more uptime lines
|
|
|
|
fix regexp error with ruby 2.1
|
|
|
|
Delete more uptime line, temp line, speed line, for few ironware models
|
|
|
|
|
|
|
|
|
|
|
|
confirmation
|
|
|
|
Added a less strict prompt
|
|
Added less strict prompt
|
|
Changed prompt (too strict)
|
|
Changed prompt (too strict)
|
|
|
|
there are numerous use-cases for this in models, no point to load in
models separately
|
|
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.
|
|
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.
|
|
Add a pre_logout for some devices
|
|
Add an other post_login for some devices and a pre_logout
|
|
Add the Cumulus feature
Add Cumulus feature
|
|
|
|
hide enable secret when remove_secret is enabled
|
|
|
|
Added a check for 35xx switches
Also extract only on the model number, not the suffix (P or F) as we dont need that.
|
|
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.
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
#89. Fixed by sending both commands and allowing one of them to fail.
|
|
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.
|
|
|
|
|
|
|
|
still not sure if this is the right way to guard non-string blocks...
|
|
Return empty string instead of what ever model returned.
Closes #63
|
|
|