RFC: Script development

Jan Synacek jsynacek at redhat.com
Mon Jul 1 08:44:40 UTC 2013


On 06/11/2013 10:52 PM, Jan Safranek wrote:
> Hi,
> 
> I've been talking to Stephen Gallagher how to proceed with client script
> development in lmishell. The goal is to provide high-level functionality
> to manage remote systems without complete knowledge of the CIM API.
> 
> <snip>

I created a scripton that uses the LogicalFile provider. I just wanted to be
sure that I understood everything that has been discussed on the list so far.

The script itself is not written using lmishell, see [1]. Feel free to test it
and criticize it;) Just don't forget to call use_exception(True) if running via
the shell.

Also, we should decide where we want to put the scriptons. We could store them
next to the providers' sources, but since the scriptons will probably have a
common module, they should be put together. Any ideas?

[1] https://fedorahosted.org/openlmi/ticket/109

-- 
Jan Synacek
Software Engineer, Red Hat


More information about the openlmi-devel mailing list