Sha256: 99f852d69dbfa9b2299e263b195ed37e3cb2c2dd59181e8e1b9f6cd3a8cf2bd4

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 Bytes

Contents

class ISAM < Oxidized::Model
  using Refinements

  # Alcatel ISAM 7302/7330 FTTN

  prompt /^([\w.:@-]+>#\s)$/
  comment '# '

  cmd :all do |cfg|
    cfg.cut_both
  end

  cfg :telnet do
    username /^login:\s*/
    password /^password:\s*/
  end

  cfg :telnet, :ssh do
    post_login 'environment prompt "%n># "'
    post_login 'environment mode batch'
    post_login 'environment inhibit-alarms print no-more'
    pre_logout 'logout'
  end

  cmd 'show software-mngt oswp detail' do |cfg|
    comment cfg
  end

  cmd 'show equipment slot detail' do |cfg|
    comment cfg
  end

  cmd 'info configure flat' do |cfg|
    cfg
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oxidized-0.31.0 lib/oxidized/model/isam.rb
oxidized-0.30.1 lib/oxidized/model/isam.rb
oxidized-0.30.0 lib/oxidized/model/isam.rb
oxidized-0.29.1 lib/oxidized/model/isam.rb