Sha256: ac8f742a09c2d61d63373c92c214e490095690cb573dad7f296608e3c4ae5134

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 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

2 entries across 2 versions & 1 rubygems

Version Path
oxidized-0.21.0 lib/oxidized/model/siklu.rb
oxidized-0.20.0 lib/oxidized/model/siklu.rb