Sha256: cf5eead8d0d7642058c08657bc2990a2ccec696eebc2d1b2bb38595261e6d780

Contents?: true

Size: 596 Bytes

Versions: 3

Compression:

Stored size: 596 Bytes

Contents

class Nodegrid < Oxidized::Model
  using Refinements

  # ZPE Nodegrid (Tested with Nodegrid Gate/Bold/NSR)
  # https://www.zpesystems.com/products/

  prompt(%r{(?<!@)\[(.*?\s/)\]#})
  comment '# '

  cmd 'show system/about/' do |cfg|
    comment cfg # Show System, Model, Software Version
  end

  cmd 'show settings/license/' do |cfg|
    comment cfg # Show License information
  end

  cmd 'export_settings settings/ --plain-password' do |cfg|
    cfg # Print all system config including keys to be importable via import_settings function
  end

  cfg :ssh do
    pre_logout 'exit'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oxidized-0.30.1 lib/oxidized/model/nodegrid.rb
oxidized-0.30.0 lib/oxidized/model/nodegrid.rb
oxidized-0.29.1 lib/oxidized/model/nodegrid.rb