Sha256: ab9a8cb0347e58e8176f4bbf227f02730014984e49b91fe2a7edafeb57d5c212
Contents?: true
Size: 584 Bytes
Versions: 3
Compression:
Stored size: 584 Bytes
Contents
class Enterasys800 < Oxidized::Model using Refinements # Enterasys 800 models # # Tested with 08H20G4-24 Fast Ethernet Switch Firmware: Build 01.01.01.0017 comment '# ' prompt /([\w \(:.@-]+[#>]\s?)$/ cfg :telnet do username /UserName:/ password /PassWord:/ end cfg :telnet do post_login 'disable clipaging' end cfg :telnet do pre_logout 'logout' end cmd :all do |cfg| cfg = cfg.cut_both cfg = cfg.gsub /^[\r\n]|^\s\s\s/, '' cfg = cfg.gsub "Command: show config effective", '' cfg end cmd 'show config effective' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.31.0 | lib/oxidized/model/enterasys800.rb |
oxidized-0.30.1 | lib/oxidized/model/enterasys800.rb |
oxidized-0.30.0 | lib/oxidized/model/enterasys800.rb |