Sha256: 0f8f20b7c171b90eab9114f563faef6a4cd394155b911260cfc102b3d659bcf5
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
class TELCO < Oxidized::Model # Telco Systems T-Marc 3306 prompt /^(\r?[\w.@_()-]+[#]\s?)$/ comment '! ' cmd :all do |cfg| cfg.each_line.to_a[2..-2].join.delete("\n") end cmd 'show running-config' do |cfg| cfg end cfg :ssh, :telnet do post_login 'terminal length 0' pre_logout 'exit' end cfg :telnet do username /^Username:/ password /^Password:/ end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.29.0 | lib/oxidized/model/telco.rb |
oxidized-0.28.0 | lib/oxidized/model/telco.rb |