summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/comware.rb
diff options
context:
space:
mode:
authorAdam <adam@aboutcher.co.uk>2018-06-07 20:13:50 +0100
committerWild Kat <wk@users.noreply.github.com>2018-06-07 21:13:50 +0200
commit8317e002588a737e01172ef8cb9272c8cc964771 (patch)
tree76f108c7286c0b2da70744290e3e4f6f8201605f /lib/oxidized/model/comware.rb
parenta843b5cff1ffa7bba11281402694b992b12a448b (diff)
Updated HPE Comware - Issue #611 Fix (#1305)
This change works for newer HPE Comware model switches and *shouldn't* cause any issues with the previous Comware models although past functionality hasn't been tested as I don't have an older model.
Diffstat (limited to 'lib/oxidized/model/comware.rb')
-rw-r--r--lib/oxidized/model/comware.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/oxidized/model/comware.rb b/lib/oxidized/model/comware.rb
index f20cd4d..6f65edb 100644
--- a/lib/oxidized/model/comware.rb
+++ b/lib/oxidized/model/comware.rb
@@ -38,6 +38,9 @@ class Comware < Oxidized::Model
send "_cmdline-mode on\n"
send "y\n"
send vars(:comware_cmdline) + "\n"
+ send "xtd-cli-mode on\n"
+ send "y\n"
+ send vars(:comware_cmdline) + "\n"
end
end