Sha256: 8d845d270b845e10aff4b858c95f913daa115fd342d0c2fe8873d12497e28073

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
oxidized-0.21.0 lib/oxidized/model/ucs.rb