Sha256: ad8c369868b44e649d1a3947274099555db15d276182facb45d6e4cbcfe3f90e

Contents?: true

Size: 520 Bytes

Versions: 5

Compression:

Stored size: 520 Bytes

Contents

class UCS < Oxidized::Model
  using Refinements

  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

5 entries across 5 versions & 1 rubygems

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