Class Rubyipmi::BaseCommand
In: lib/rubyipmi/commands/basecommand.rb
Parent: Object

Methods

Included Modules

Observable

Attributes

cmd  [R] 
lastcall  [R] 
options  [RW] 

Public Class methods

Public Instance methods

The findfix method acts like a recursive method and applies fixes defined in the errorcodes If a fix is found it is applied to the options hash, and then the last run command is retried until all the fixes are exhausted or a error not defined in the errorcodes is found

Use this function to run the command line tool, it will inherently use the options hash for all options That need to be specified on the command line

This method will check if the results are really valid as the exit code can be misleading and incorrect

[Validate]