Sha256: 306ffe034aa431ec430b8a5d7a62bdda06b0bc2f10df7e6707594382e9dcf893
Contents?: true
Size: 521 Bytes
Versions: 3
Compression:
Stored size: 521 Bytes
Contents
class CoriantGroove < Oxidized::Model using Refinements comment '# ' prompt /^(\w+@.*>\s*)$/ cmd :all do |cfg| cfg.each_line.to_a[1..-3].map { |line| line.delete("\r").rstrip }.join("\n") + "\n" end cmd 'show inventory' do |cfg| comment cfg.cut_tail end cmd 'show softwareload' do |cfg| comment cfg.cut_tail end cmd 'show config | display commands' do |cfg| cfg.cut_head end cfg :ssh do post_login 'set -f cli-config cli-columns 4000' pre_logout 'quit -f' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oxidized-0.30.1 | lib/oxidized/model/coriantgroove.rb |
oxidized-0.30.0 | lib/oxidized/model/coriantgroove.rb |
oxidized-0.29.1 | lib/oxidized/model/coriantgroove.rb |