runs a command like bmc-device –cold-reset
# File lib/rubyipmi/freeipmi/commands/bmcdevice.rb, line 10 def command(opt) @options[opt] = false value = runcmd @options.delete_notify(opt) return value end
reset the bmc device, useful for debugging and troubleshooting
# File lib/rubyipmi/freeipmi/commands/bmcdevice.rb, line 18 def reset(type='cold') if ['cold', 'warm'].include?(type) key = "#{type}-reset" command(key) else raise "reset type: #{type} is not a valid choice, use warm or cold" end end
Generated with the Darkfish Rdoc Generator 2.