summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/coriant8800.rb
blob: 1c2bf07bc4f0dbfb309479e6fe3dd6c4ce4a1641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Coriant8800 < Oxidized::Model

  prompt /^[^\s#]+#\s/

  cmd 'show node extensive' do |cfg|
    comment cfg
  end

  cmd 'show run' do |cfg|
    cfg
  end

  cfg :telnet, :ssh do
    username /^Login:\s$/
    password /^Password:\s$/
    pre_logout 'exit'
    post_login 'enable config terminal length 0'
  end

end