Class | Rubyipmi::BaseCommand |
In: |
lib/rubyipmi/commands/basecommand.rb
|
Parent: | Object |
cmd | [R] | |
lastcall | [R] | |
max_retry_count | [R] | |
options | [RW] | |
passfile | [RW] | |
result | [R] |
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 this must be overrided in the subclass, as there are no generic errors that fit both providers
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