From f1668544d7fd435c6043928e6501cd5c67cd2d68 Mon Sep 17 00:00:00 2001 From: Alexander Schaber Date: Tue, 7 Feb 2017 13:46:38 +0100 Subject: add support for hp msa storage --- README.md | 1 + lib/oxidized/model/hpemsa.rb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 lib/oxidized/model/hpemsa.rb 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 + -- cgit v1.2.1