Sha256: 68e47f8f5f04558c530a267c36d5f69053bc391ab557cb4e651af8d5ac57fd19

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

class WEOS < Oxidized::Model
  using Refinements

  # Westell WEOS, works with Westell 8178G, Westell 8266G

  prompt /^(\s[\w.@-]+[#>]\s?)$/

  cmd :all do |cfg|
    cfg.cut_both
  end

  cmd 'show running-config' do |cfg|
    cfg
  end

  cfg :telnet do
    username /login:/
    password /assword:/
    post_login 'cli more disable'
    pre_logout 'logout'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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