summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/hpemsa.rb
diff options
context:
space:
mode:
authorDanilo Sousa <danilopopeye@users.noreply.github.com>2017-08-22 11:20:36 -0300
committerGitHub <noreply@github.com>2017-08-22 11:20:36 -0300
commita6908610212bee6f6f50233318969ceba2b859d5 (patch)
tree6d234c2fca9948d6b2a47e64b2959233dcedd3b4 /lib/oxidized/model/hpemsa.rb
parenteb4dec145e87dd4e5e094b66f117992e6ec86fea (diff)
parentf1668544d7fd435c6043928e6501cd5c67cd2d68 (diff)
Merge pull request #701 from aschaber1/feature/hpmsa
add support for hp msa storage
Diffstat (limited to 'lib/oxidized/model/hpemsa.rb')
-rw-r--r--lib/oxidized/model/hpemsa.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/oxidized/model/hpemsa.rb b/lib/oxidized/model/hpemsa.rb
new file mode 100644
index 0000000..4fe636f
--- /dev/null
+++ b/lib/oxidized/model/hpemsa.rb
@@ -0,0 +1,13 @@
+class HpeMsa < Oxidized::Model
+
+ prompt /^#\s?$/
+
+ cmd 'show configuration'
+
+ cfg :ssh do
+ post_login 'set cli-parameters pager disabled'
+ pre_logout 'exit'
+ end
+
+end
+