Sha256: 98c67201822df31869a12a4833e999040fffb36892b91b94c7abeaa548b0146c

Contents?: true

Size: 594 Bytes

Versions: 3

Compression:

Stored size: 594 Bytes

Contents

class Nodegrid < Oxidized::Model
  using Refinements

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

  prompt /(?<!@)\[(.*?\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.32.1 lib/oxidized/model/nodegrid.rb
oxidized-0.32.0 lib/oxidized/model/nodegrid.rb
oxidized-0.31.0 lib/oxidized/model/nodegrid.rb