Sha256: 632be23cf96937eebc786154a57fca2e4d92c1b09476102b2a45bb2bafcc5048

Contents?: true

Size: 232 Bytes

Versions: 7

Compression:

Stored size: 232 Bytes

Contents

class Netonix < Oxidized::Model
  prompt /^[\w\s\(\).@_\/:-]+#/

  cmd :all do |cfg|
    cfg.cut_both
  end

  cmd 'cat config.json;echo'

  cfg :ssh do
    post_login 'cmdline'
    pre_logout 'exit'
    pre_logout 'exit'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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