# File lib/rubyipmi/freeipmi/connection.rb, line 17 def initialize(user, pass, host) @options = Rubyipmi::ObservableHash.new raise("Must provide a host to connect to") unless host @options["hostname"] = host # Credentials can also be stored in the freeipmi configuration file # So they are not required @options["username"] = user if user @options["password"] = pass if pass #getWorkArounds end
# File lib/rubyipmi/freeipmi/connection.rb, line 37 def bmc @bmc ||= Rubyipmi::Freeipmi::Bmc.new(@options) end
# File lib/rubyipmi/freeipmi/connection.rb, line 41 def chassis @chassis ||= Rubyipmi::Freeipmi::Chassis.new(@options) end
# File lib/rubyipmi/freeipmi/connection.rb, line 33 def fru @fru ||= Rubyipmi::Freeipmi::Fru.new(@options) end
Generated with the Darkfish Rdoc Generator 2.