ruby-sfcc

INTRODUCTION

ruby-sfcc provides the SBLIM client API ( sblim.wiki.sourceforge.net/Sfcc ) for ruby.

You can use it to connect to any CIMOM talking CIM-XML, but it can take advantage of sfcb CIMOM by connecting using a native interface.

Requirements

Ruby interpreters

ruby-sfcc has been built and the testsuite ran against:

* ruby 1.8.7
* ruby 1.9.2
* rubinius HEAD (what will be 1.1 soon)

sblim

ruby-sfcc has been built and the testsuite ran against:

Quick Start

You can create a gem by running rake gem.

See the testsuite for more examples. Or run rake docs.

require 'sfcc'

client = Sfcc::Cim::Client.connect('http://root@localhost:5988')
op = Sfcc::Cim::ObjectPath.new("root/cimv2", "")
result = client.query(op, "select * from CIM_OperatingSystem", "wql")
result.each do |instance|
  puts "query result: #{instance}"
end

FAQ

ActiveCim ( github.com/dmacvicar/activecim ) which is a more ruby-like API to do CIM based management.

Known Issues

Links

Documentation

Code Metrics

Authors

Thanks

The following people have contributed patches, fixes and enhancements: