summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
authorMatthew Walster <matthew@walster.org>2014-08-07 16:23:45 +0100
committerMatthew Walster <matthew@walster.org>2014-08-07 16:23:45 +0100
commitee2f9ab1f15a584cca44849dfa347dd773c71413 (patch)
treee7118a7c0630cb56d8da00c567fb1e63f4153211 /lib/oxidized/model/ironware.rb
parentbf299889f54b468412df4822b515cf7c4d60f90d (diff)
Use a more compatible Foundry/Brocade syntax for turning off paging
Unfortunately, older Foundry/Brocade hardware doesn't support "terminal length 0" and you have to use the much clunkier "skip-page-display" instead. This especially affects older FastIron era devices.
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-rw-r--r--lib/oxidized/model/ironware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index e501f76..679bdea 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -26,7 +26,7 @@ class IronWare < Oxidized::Model
end
cfg :telnet, :ssh do
- post_login 'terminal length 0'
+ post_login 'skip-page-display'
pre_logout 'exit'
end