summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorAlexander Schaber <alexander@schaber.info>2017-02-07 13:46:38 +0100
committerAlexander Schaber <alexander@schaber.info>2017-08-03 21:51:18 +0200
commitf1668544d7fd435c6043928e6501cd5c67cd2d68 (patch)
treea6ddc51888d64039a8e32c759418bc5955d50e66 /lib/oxidized/model
parentccb28d79b5cdc1d57f75ab156ad360161974b927 (diff)
add support for hp msa storage
Diffstat (limited to 'lib/oxidized/model')
-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
+