Sha256: 275dbd57a092f8d12947bcc4311298a51cc9c346670045791f4df50430fcd327
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
class ML66 < Oxidized::Model comment '! ' prompt /.*#/ expect /User:.*$/ do |data, re| send "admin_user\n" send "#{@node.auth[:password]}\n" data.sub re, '' end cmd 'show version' do |cfg| cfg.gsub! "Uptime", '' comment cfg end cmd 'show inventory hw all' do |cfg| comment cfg end cmd 'show inventory sw all' do |cfg| comment cfg end cmd 'show license status all' do |cfg| comment cfg end cmd 'show running-config' cfg :ssh do pre_logout 'logout' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.30.1 | lib/oxidized/model/ml66.rb |
oxidized-0.30.0 | lib/oxidized/model/ml66.rb |