Sha256: 5ddbd82ec30f2a344be77fba207be7197a8b37291e0c0bd481da7ec79069dfe5

Contents?: true

Size: 499 Bytes

Versions: 12

Compression:

Stored size: 499 Bytes

Contents

class UCS < Oxidized::Model
  prompt /^(\r?[\w.@_()-]+[#]\s?)$/
  comment '! '

  cmd 'show version brief' do |cfg|
    comment cfg
  end

  cmd 'show chassis detail' do |cfg|
    comment cfg
  end

  cmd 'show fabric-interconnect detail' do |cfg|
    comment cfg
  end

  cmd 'show configuration all | no-more' do |cfg|
    cfg
  end

  cfg :ssh, :telnet do
    post_login 'terminal length 0'
    pre_logout 'exit'
  end

  cfg :telnet do
    username /^login:/
    password /^Password:/
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
oxidized-0.29.0 lib/oxidized/model/ucs.rb
oxidized-0.28.0 lib/oxidized/model/ucs.rb
oxidized-0.27.0 lib/oxidized/model/ucs.rb
oxidized-0.26.3 lib/oxidized/model/ucs.rb
oxidized-0.26.2 lib/oxidized/model/ucs.rb
oxidized-0.26.1 lib/oxidized/model/ucs.rb
oxidized-0.26.0 lib/oxidized/model/ucs.rb
oxidized-0.25.1 lib/oxidized/model/ucs.rb
oxidized-0.25.0 lib/oxidized/model/ucs.rb
oxidized-0.24.0 lib/oxidized/model/ucs.rb
oxidized-0.23.0 lib/oxidized/model/ucs.rb
oxidized-0.22.0 lib/oxidized/model/ucs.rb