Sha256: 0b46ac897af9d1661d549eb2fef95b13a761f280c231e27d232a812473f15a39

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

class Siklu < Oxidized::Model
  using Refinements

  # 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

3 entries across 3 versions & 1 rubygems

Version Path
oxidized-0.30.1 lib/oxidized/model/siklu.rb
oxidized-0.30.0 lib/oxidized/model/siklu.rb
oxidized-0.29.1 lib/oxidized/model/siklu.rb