ruby-wbem provides an abstraction layer on top of ruby-sfcc (CIM/XML) and openwsman (WS-Management)
You can use it to connect to any CIMOM talking CIM-XML or WS-Management
ruby-wbem has been built and the testsuite ran against:
* ruby 1.8.7 * ruby 1.9.2
You can create a gem by running rake gem.
See the testsuite for more examples. Or run rake docs.
require 'rubygems' require 'wbem' client = Wbem.connect('http://user:password@hostname:5988') client.namespaces.each do |ns| puts "Namespace: #{ns}" end
-
Klaus Kämpf <[email protected]>