summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/powerconnect.rb
diff options
context:
space:
mode:
authorskares <sven.kares@coremedia.com>2015-09-21 09:53:26 +0200
committerskares <sven.kares@coremedia.com>2015-09-21 09:53:26 +0200
commit9730c0f93617c56b544e05a2f5d1f88a7814214c (patch)
tree2ccf07993d9de3e81a04d3826cd61186aba946df /lib/oxidized/model/powerconnect.rb
parent4fb28e133885c072c9d217b812226110dc4143bc (diff)
Update powerconnect.rb
Add :ssh Username and Password login.
Diffstat (limited to 'lib/oxidized/model/powerconnect.rb')
-rw-r--r--lib/oxidized/model/powerconnect.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index 0b28f37..ec15402 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -25,7 +25,7 @@ class PowerConnect < Oxidized::Model
cmd 'show running-config'
- cfg :telnet do
+ cfg :telnet, :ssh do
username /^User( Name)?:/
password /^\r?Password:/
end