Sha256: 2b5d1dddfa51084e0b40d65def8784fb076d73c94ae76b1ea06e659419e1d49e

Contents?: true

Size: 308 Bytes

Versions: 5

Compression:

Stored size: 308 Bytes

Contents

class Siklu < Oxidized::Model
  # Siklu EtherHaul #

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

  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

5 entries across 5 versions & 1 rubygems

Version Path
oxidized-0.25.1 lib/oxidized/model/siklu.rb
oxidized-0.25.0 lib/oxidized/model/siklu.rb
oxidized-0.24.0 lib/oxidized/model/siklu.rb
oxidized-0.23.0 lib/oxidized/model/siklu.rb
oxidized-0.22.0 lib/oxidized/model/siklu.rb