returns the entire bmc-config configuration, can take a while to execute
# File lib/rubyipmi/freeipmi/commands/bmcconfig.rb, line 35 def configuration @options["checkout"] = false value = runcmd @options.delete_notify("checkout") @result end
Returns a list of available sections to inspect
# File lib/rubyipmi/freeipmi/commands/bmcconfig.rb, line 43 def listsections if @sections.length < 1 @options["listsections"] = false value = runcmd @options.delete_notify("listsections") if value @sections = @result.split(/\n/) end end @sections end
# File lib/rubyipmi/freeipmi/commands/bmcconfig.rb, line 11 def section(section) @options["checkout"] = false @options["section"] = section value = runcmd @options.delete_notify("checkout") @options.delete_notify("section") @result end
# File lib/rubyipmi/freeipmi/commands/bmcconfig.rb, line 20 def setsection(section, key, value) keypair = "#{section}:#{key}=#{value}" @options["commit"] = false if not keypair.empty? @options["key-pair"] = keypair value = runcmd @options.delete_notify("commit") @options.delete_notify("key-pair") return value end return false end
Generated with the Darkfish Rdoc Generator 2.