From 8317e002588a737e01172ef8cb9272c8cc964771 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 7 Jun 2018 20:13:50 +0100 Subject: 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. --- lib/oxidized/model/comware.rb | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.1