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

  comment '# '

  prompt /^([-\w.\/:?\[\]\(\)]+:\s?)$/

  cmd 'configuration generate-script module all' do |cfg|
    cfg
  end

  cmd :all do |cfg|
    cfg.cut_both
  end

  cfg :ssh do
    pre_logout 'exit'
  end
end