Rubyipmi::Ipmitool::Fru

Constants

DEFAULT_FRU

Attributes

list[RW]

Public Class Methods

new(opts = ObservableHash.new) click to toggle source
# File lib/rubyipmi/ipmitool/commands/fru.rb, line 10
def initialize(opts = ObservableHash.new)
  super("ipmitool", opts)
  @list = {}
end

Public Instance Methods

getfrus() click to toggle source

method to retrieve the raw fru data

# File lib/rubyipmi/ipmitool/commands/fru.rb, line 40
def getfrus
  command
end
manufacturer() click to toggle source
# File lib/rubyipmi/ipmitool/commands/fru.rb, line 19
def manufacturer
  list[DEFAULT_FRU]['product_manufacturer']
end
model() click to toggle source
# File lib/rubyipmi/ipmitool/commands/fru.rb, line 27
def model
  list[DEFAULT_FRU]['product_manufacturer']
end
names() click to toggle source
# File lib/rubyipmi/ipmitool/commands/fru.rb, line 15
def names
  list.keys
end
serial() click to toggle source
# File lib/rubyipmi/ipmitool/commands/fru.rb, line 23
def serial
  list[DEFAULT_FRU]['board_serial']
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.