summaryrefslogtreecommitdiff
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
parentccb28d79b5cdc1d57f75ab156ad360161974b927 (diff)
add support for hp msa storage
-rw-r--r--README.md1
-rw-r--r--lib/oxidized/model/hpemsa.rb13
2 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 298404d..66a5db7 100644
--- a/README.md
+++ b/README.md
@@ -121,6 +121,7 @@ Oxidized is a network device configuration backup tool. It's a RANCID replacemen
* [Comware (HP A-series, H3C, 3Com)](lib/oxidized/model/comware.rb)
* [Procurve](lib/oxidized/model/procurve.rb)
* [BladeSystem (Onboard Administrator)](lib/oxidized/model/hpebladesystem.rb)
+ * [MSA](lib/oxidized/model/hpemsa.rb)
* Huawei
* [VRP](lib/oxidized/model/vrp.rb)
* Juniper
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
+