Re: Question for Provider Developers - It is possible to completely automate the process of writing a CMPI provider?

Klaus Kaempf <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
* Chatterjee, Biswapratap <[email protected]> [Nov 22. 2010 06:47]:
> Hi all,
> 
> This question has been banging in my head for quite some time. "It is possible to completely automate the process of writing a CMPI provider?"
> 
> I have been putting lot of effort in making this possible. Since, I have always believed that writing a provider is a repetitive task. If it is a standard,
> then we have a set of guidelines to write it, we just have to develop an intelligent software who can understand the guidelines on its own and
> automate the process of provider development. The developer should only worry about the schema diagram that abstracts its
> hardware/architecture. Something like - "Draw your schema and get your provider shared object".

Have a look at pywbem (http://sourceforge.net/apps/mediawiki/pywbem/index.php?title=Provider_Home)
which provides client bindings as well as a 'provider generator'.
With this you can code your provider in Python, thus drastically
reducing your development time.
It starts with a .mof file and gives you a complete and runnable (!)
provider template to fill in the real instrumentation.


I am working on a similar tool currently for writing providers in
Ruby. See https://github.com/kkaempf/genprovider. The goal here is to
completely shield a developer from the provider code, letting him
focus on the resource instrumentation.

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.