Sha256: 743af30f569c25ed417990950f26dac5868a9327eda8cd8d63deca512ca6ef51

Contents?: true

Size: 249 Bytes

Versions: 9

Compression:

Stored size: 249 Bytes

Contents

class AxOS < Oxidized::Model
  prompt /(\x1b\[\?7h)?([\w.@()-]+[#]\s?)$/
  comment '! '

  cmd 'show running-config | nomore' do |cfg|
    cfg.cut_head
  end

  cmd :all do |cfg|
    cfg.cut_tail
  end

  cfg :ssh do
    pre_logout 'exit'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
oxidized-0.29.0 lib/oxidized/model/axos.rb
oxidized-0.28.0 lib/oxidized/model/axos.rb
oxidized-0.27.0 lib/oxidized/model/axos.rb
oxidized-0.26.3 lib/oxidized/model/axos.rb
oxidized-0.26.2 lib/oxidized/model/axos.rb
oxidized-0.26.1 lib/oxidized/model/axos.rb
oxidized-0.26.0 lib/oxidized/model/axos.rb
oxidized-0.25.1 lib/oxidized/model/axos.rb
oxidized-0.25.0 lib/oxidized/model/axos.rb