Sha256: f53b0b0db535ebd721a47f33afc21c29a04d76302e5a5b830354378760e7d59d

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

class SAOS < Oxidized::Model

  # Ciena SAOS switch
  # used for 6.x devices
 
  comment  '! '

  cmd :all do |cfg|
    cfg.each_line.to_a[1..-2].join
  end

  cmd 'configuration show' do |cfg|
    cfg
  end

  cfg :telnet do
    username /login:/
    password /assword:/
  end

  cfg :telnet, :ssh do
    post_login 'system shell set more off'
    post_login 'system shell session set more off'
    pre_logout 'exit'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oxidized-0.19.0 lib/oxidized/model/saos.rb
oxidized-0.18.0 lib/oxidized/model/saos.rb
oxidized-0.17.0 lib/oxidized/model/saos.rb
oxidized-0.16.3 lib/oxidized/model/saos.rb