Sha256: 20474d650ccc8e4c11909f7668356e096f7150de1b6d12bbe69f83ae6dc17888
Contents?: true
Size: 718 Bytes
Versions: 4
Compression:
Stored size: 718 Bytes
Contents
class AOS < Oxidized::Model using Refinements # Alcatel-Lucent Operating System # used in OmniSwitch comment '! ' cmd :all do |cfg| cfg.cut_both end cmd 'show system' do |cfg| cfg = cfg.each_line.find { |line| line.match 'Description' } comment cfg.to_s.strip end cmd 'show chassis' do |cfg| comment cfg end cmd 'show hardware info' do |cfg| comment cfg end cmd 'show license info' do |cfg| comment cfg end cmd 'show license file' do |cfg| comment cfg end cmd 'show configuration snapshot' do |cfg| cfg end cfg :telnet do username /^login : / password /^password : / end cfg :telnet, :ssh do pre_logout 'exit' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.31.0 | lib/oxidized/model/aos.rb |
oxidized-0.30.1 | lib/oxidized/model/aos.rb |
oxidized-0.30.0 | lib/oxidized/model/aos.rb |
oxidized-0.29.1 | lib/oxidized/model/aos.rb |