summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorospfbgp <danielcoxman@gmail.com>2018-04-28 19:59:17 -0400
committerGitHub <noreply@github.com>2018-04-28 19:59:17 -0400
commitff55492c455b775e22f710e5873d21a181a4a84f (patch)
treeb373b85ed3eb7b68bf38fcd3287e13250925735b /lib/oxidized/model
parentd3c5d49c2045bce7891f45259b58495fd690f3fd (diff)
Update boss.rb
Issues with some older boss switches that have the banner turned off. They still display the banner but it is just scrolls and no pause. The send "c" gets put at the prompt and you are now stuck. An easy fix is to just send new line so you get a new prompt and the next command does not get corrupt. Tested on about 100 BOSS switches and all working now.
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/boss.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oxidized/model/boss.rb b/lib/oxidized/model/boss.rb
index cf762ee..0adf4c0 100644
--- a/lib/oxidized/model/boss.rb
+++ b/lib/oxidized/model/boss.rb
@@ -1,5 +1,5 @@
class Boss < Oxidized::Model
- # Avaya Baystack Operating System Software(BOSS)
+ # Extreme Baystack Operating System Software(BOSS)
# Created by danielcoxman@gmail.com
# May 15, 2017
# This was tested on ers3510, ers5530, ers4850, ers5952
@@ -28,6 +28,8 @@ class Boss < Oxidized::Model
expect /ommand Line Interface\.\.\./ do |data, re|
send "c"
data.sub re, ''
+ send "\n"
+ data.sub re, ''
end
# needed for proper formatting