Sha256: a7fd03500b722bc037feeeb10c6358b479e35afc34167e9697293977d9645c2d

Contents?: true

Size: 619 Bytes

Versions: 9

Compression:

Stored size: 619 Bytes

Contents

class ISAM < Oxidized::Model
  # 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

9 entries across 9 versions & 1 rubygems

Version Path
oxidized-0.29.0 lib/oxidized/model/isam.rb
oxidized-0.28.0 lib/oxidized/model/isam.rb
oxidized-0.27.0 lib/oxidized/model/isam.rb
oxidized-0.26.3 lib/oxidized/model/isam.rb
oxidized-0.26.2 lib/oxidized/model/isam.rb
oxidized-0.26.1 lib/oxidized/model/isam.rb
oxidized-0.26.0 lib/oxidized/model/isam.rb
oxidized-0.25.1 lib/oxidized/model/isam.rb
oxidized-0.25.0 lib/oxidized/model/isam.rb