Sha256: 29d3ad5fac1fbe7924932ff436a0b57539834b13fa630ac6b58c53c87a902cf7

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

= genprovider

* http://github.com/kkaempf/genprovider

== DESCRIPTION:

* A generator for Ruby based CIM providers
  Generates Ruby provider templates for use with cmpi-bindings

== FEATURES/PROBLEMS:

* Generates CIM class and provider templates from MOF files

== SYNOPSIS:

  genprovider.rb [-d] [-h] [-q] [-I <includedir>] [-o <output>] [-n <namespace>] <moffile> [<moffile> ...]

  * -d              debug
  * -h              this help
  * -I <dir>        include dir
  * -f              force, overwrite existing files
  * -n <namespace>  cim namespace, triggers generating .registration file
  * -o <output>     output file
  * -s <style>      syntax style (wmi,cim) of input mof
  * -q  quiet       no progress output
  * <moffiles>      file(s) to read (else use $stdin)

== EXAMPLE:

  # generate .registration and .rb file
  bin/genprovider -n root/cimv2 sample.mof
  # convert .registration to sfcb .reg file
  # copy .reg to /var/lib/sfcb/stage/regs
  # copy .mof to /var/lib/sfcb/mofs/<namespace>/
  # run sfcbrepos -f
  sudo provider-register.sh -t sfcb -n root/cimv2 -r generated/sample.registration -m sample.mof
  # copy provider template
  cp generated/sample.rb /usr/share/cmpi
  # reload sfcb to pick up provider information
  sudo rcsfcb restart

== REQUIREMENTS:

* gems:
  * cim
  * mof

* 'cmpi-bindings' (for provider execution)

== INSTALL:

* gem install genprovider

== LICENSE:

(The Ruby License)

Copyright (c) 2010 Klaus Kämpf <kkaempf@suse.de>

See http://www.ruby-lang.org/en/LICENSE.txt for the full text

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
genprovider-0.2.2 README.rdoc~