Sha256: 3431350315b1f697552595284681f0240d54945064fbdd96512f516f817ebd20
Contents?: true
Size: 697 Bytes
Versions: 3
Compression:
Stored size: 697 Bytes
Contents
class AOS < Oxidized::Model # 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.29.0 | lib/oxidized/model/aos.rb |
oxidized-0.28.0 | lib/oxidized/model/aos.rb |
oxidized-0.27.0 | lib/oxidized/model/aos.rb |