Sha256: 4c8f93dd8771e72c435c073dff19cc32acd393583f8b45edfa291b91f0d50dc0

Contents?: true

Size: 309 Bytes

Versions: 3

Compression:

Stored size: 309 Bytes

Contents

class NetScaler < Oxidized::Model
  prompt /^\>\s*$/
  comment '# '

  cmd :all do |cfg|
    cfg.each_line.to_a[1..-3].join
  end

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

  cmd 'show hardware' do |cfg|
    comment cfg
  end

  cmd 'show ns ns.conf'

  cfg :ssh do
    pre_logout 'exit'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oxidized-0.24.0 lib/oxidized/model/netscaler.rb
oxidized-0.23.0 lib/oxidized/model/netscaler.rb
oxidized-0.22.0 lib/oxidized/model/netscaler.rb