Rubyipmi::Freeipmi::Bmc

Attributes

config[RW]

attr_accessor :options

Public Class Methods

new(opts = ObservableHash.new) click to toggle source
# File lib/rubyipmi/freeipmi/commands/bmc.rb, line 8
def initialize(opts = ObservableHash.new)
  super("bmc-device", opts)
  @bmcinfo = {}
end

Public Instance Methods

device() click to toggle source
# File lib/rubyipmi/freeipmi/commands/bmc.rb, line 41
def device
  @bmcdevice ||= Rubyipmi::Freeipmi::BmcDevice.new(options)
end
guid() click to toggle source
# File lib/rubyipmi/freeipmi/commands/bmc.rb, line 25
def guid
   information.guid
end
info() click to toggle source
# File lib/rubyipmi/freeipmi/commands/bmc.rb, line 13
def info
  if @bmcinfo.length > 0
    @bmcinfo
  else
    information.retrieve
  end
end
information() click to toggle source
# File lib/rubyipmi/freeipmi/commands/bmc.rb, line 37
def information
  @info ||= Rubyipmi::Freeipmi::BmcInfo.new(options)
end
lan() click to toggle source
# File lib/rubyipmi/freeipmi/commands/bmc.rb, line 33
def lan
  @lan ||= Rubyipmi::Freeipmi::Lan.new(options)
end
reset(type='cold') click to toggle source
# File lib/rubyipmi/freeipmi/commands/bmc.rb, line 21
def reset(type='cold')
  device.reset(type)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.