Sha256: abd25e538649f52bf24fe74eed1a7dd686ca7968bb33fd46b2aec3db45b2b2a7
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
class FortiWLC < Oxidized::Model comment '# ' cmd :all do |cfg, cmdstring| new_cfg = comment "COMMAND: #{cmdstring}\n" new_cfg << cfg.each_line.to_a[1..-2].map { |line| line.gsub(/(conf_file_ver=)(.*)/, '\1<stripped>\3') }.join end prompt /^([-\w.\/:?\[\]()]+[#>]\s?)$/ cmd 'show controller' do |cfg| comment cfg end cmd 'show ap' do |cfg| comment cfg end cmd 'show running-config' do |cfg| comment cfg end cfg :telnet, :ssh do pre_logout "exit\n" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.29.0 | lib/oxidized/model/fortiwlc.rb |