Sha256: c49164e2617dec12ec9e6906d44e5faa30dc3eb9f352f8124b354f4a6b4edeaa
Contents?: true
Size: 494 Bytes
Versions: 9
Compression:
Stored size: 494 Bytes
Contents
class SAOS < Oxidized::Model # Ciena SAOS switch # used for 6.x devices comment '! ' cmd :all do |cfg| cfg.cut_both end cmd 'configuration show' do |cfg| cfg.gsub! /^! Created: [^\n]*\n/, '' cfg.gsub! /^! On terminal: [^\n]*\n/, '' cfg end cfg :telnet do username /login:/ password /assword:/ end cfg :telnet, :ssh do post_login 'system shell set more off' post_login 'system shell session set more off' pre_logout 'exit' end end
Version data entries
9 entries across 9 versions & 1 rubygems