Sha256: 9d11e47ececed8c266a8baaa6ac44cb82dbad8a26938b424ce7675f665571261

Contents?: true

Size: 326 Bytes

Versions: 7

Compression:

Stored size: 326 Bytes

Contents

class Siklu < Oxidized::Model
  # Siklu EtherHaul #

  prompt /^[\^M\s]{0,}[\w\-\s\.\"]+>$/

  cmd 'copy startup-configuration display' do |cfg|
    cfg.each_line.to_a[2..2].join
  end

  cmd 'copy running-configuration display' do |cfg|
    cfg.each_line.to_a[3..-2].join
  end

  cfg :ssh do
    pre_logout 'exit'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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