Sha256: a28a0dc941b381458d11ca97425012138d2b90ac660e2ccf97c52da1ae3be55b

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

class Nodegrid < Oxidized::Model
  # 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

1 entries across 1 versions & 1 rubygems

Version Path
oxidized-0.29.0 lib/oxidized/model/nodegrid.rb