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

  # Siklu EtherHaul #

  comment '# '

  prompt /^[\w-]+>$/

  cmd 'copy running-configuration display'

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

  cfg :ssh do
    pre_logout 'exit'
  end

end