summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSamer Abdel-Hafez <samer@m247.com>2013-04-29 09:55:47 +0100
committerSamer Abdel-Hafez <samer@m247.com>2013-04-29 09:55:47 +0100
commit4312923213952f1421d81d4e8c40b1c8669eec2e (patch)
treea77d8fb7ab50a2a1f2bfeb9afb84a8c7a43d3bf2 /lib
parentd1a9d0412ab7c1d999598f6c801b1ae0624c4a9b (diff)
Fix README.md and add cmd to powerconnect model
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/powerconnect.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index 7fa7f2c..732245e 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -11,6 +11,14 @@ class PowerConnect < Oxidized::Model
cfg
end
+ cmd 'show version' do |cfg|
+ comment cfg
+ end
+
+ cmd 'show system' do |cfg|
+ comment cfg
+ end
+
cfg :telnet do
username /^User Name:/
password /^\r?Password:/