Age | Commit message (Collapse) | Author |
|
|
|
Added old commands in case of different CLI variations.
|
|
Forgot the username prompt change.
|
|
Adapted for SG series, not sure about SF.
Please test.
|
|
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
|
|
the command
|
|
Supports 200, 300, 500, and ESW2 series switches
|