Sha256: b89fdd880a315aee23848c88b93b750e1a2aba2cdba6fefd36c95dc884422347

Contents?: true

Size: 377 Bytes

Versions: 15

Compression:

Stored size: 377 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 do
    post_login 'system shell session set more off'
    pre_logout 'exit'
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
oxidized-0.16.2 lib/oxidized/model/saos.rb
oxidized-0.16.1 lib/oxidized/model/saos.rb
oxidized-0.16.0 lib/oxidized/model/saos.rb
oxidized-0.15.0 lib/oxidized/model/saos.rb
oxidized-0.14.3 lib/oxidized/model/saos.rb
oxidized-0.14.2 lib/oxidized/model/saos.rb
oxidized-0.14.1 lib/oxidized/model/saos.rb
oxidized-0.14.0 lib/oxidized/model/saos.rb
oxidized-0.13.1 lib/oxidized/model/saos.rb
oxidized-0.13.0 lib/oxidized/model/saos.rb
oxidized-0.12.2 lib/oxidized/model/saos.rb
oxidized-0.12.1 lib/oxidized/model/saos.rb
oxidized-0.12.0 lib/oxidized/model/saos.rb
oxidized-0.11.0 lib/oxidized/model/saos.rb
oxidized-0.10.0 lib/oxidized/model/saos.rb