Sha256: d86ee01683d42efae81ec01e3abe7165fec2662ac35542ed1eca2a44cfceaa30

Contents?: true

Size: 246 Bytes

Versions: 19

Compression:

Stored size: 246 Bytes

Contents

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

  cmd :all do |cfg|
    cfg.each_line.to_a[1..-2].join
  end

  cmd 'cat config.json;echo'

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
oxidized-0.24.0 lib/oxidized/model/netonix.rb
oxidized-0.23.0 lib/oxidized/model/netonix.rb
oxidized-0.22.0 lib/oxidized/model/netonix.rb
oxidized-0.21.0 lib/oxidized/model/netonix.rb
oxidized-0.20.0 lib/oxidized/model/netonix.rb
oxidized-0.19.0 lib/oxidized/model/netonix.rb
oxidized-0.18.0 lib/oxidized/model/netonix.rb
oxidized-0.17.0 lib/oxidized/model/netonix.rb
oxidized-0.16.3 lib/oxidized/model/netonix.rb
oxidized-0.16.2 lib/oxidized/model/netonix.rb
oxidized-0.16.1 lib/oxidized/model/netonix.rb
oxidized-0.16.0 lib/oxidized/model/netonix.rb
oxidized-0.15.0 lib/oxidized/model/netonix.rb
oxidized-0.14.3 lib/oxidized/model/netonix.rb
oxidized-0.14.2 lib/oxidized/model/netonix.rb
oxidized-0.14.1 lib/oxidized/model/netonix.rb
oxidized-0.14.0 lib/oxidized/model/netonix.rb
oxidized-0.13.1 lib/oxidized/model/netonix.rb
oxidized-0.13.0 lib/oxidized/model/netonix.rb