Hi,
I had implemented a sample provider by reading the document.
I have created sample mof file name LMI_test.mof and its content is copied
here,
LMI_test.mof
*class GK_UnixProcess : CIM_UnixProcess*
*{*
* [Description("Send signal to the process.")]*
* uint32 Signal(*
* [Description("Number of the signal."),*
* ValueMap{"1", "2", "3", "4",
"6", "8", "9", ".."},*
* Values{"SIGHUP", "SIGINT", "SIGQUIT",
"SIGILL", "SIGABRT",
"SIGFPE", "SIGKILL", "Reserved"}]*
* uint16 Number*
* );*
*};*
* *
*[ Association,*
* Description("This association connects a process with all its
children.")]*
*class GK_ProcessChild*
*{*
* [Key, Description("Parent process.")]*
* GK_UnixProcess REF Parent;*
* [Key, Description("Child process.")]*
* GK_UnixProcess REF Child;*
*};
*
After the implmentation, I have build it *,got a library file. using this
library file, i have created reg file.
*
*Then I have register it using openlmi-mof-register,
$ ./openlmi-mof-register register \
/usr/share/openlmi-providers/XXX.mof \
/usr/share/openlmi-providers/XXX.reg
*
*
*
These also working fine.
My question was how it testing, I used sfcb CIMOM.*
*
*Please share to me soap xml document for http request.
*
*Please help me.
*
*Regards,
*
*George
*
*
*
*
*
On Wed, Apr 24, 2013 at 11:54 AM, George varghese <georgooty(a)gmail.com>wrote:
Thank you so much.
I am trying to modify opemlmi/software source code for software profile
support.
How to test it with sfcb(cumom).
Did you know about the wsman soap request for this. Please share it to me.
Regards ,
George
On Apr 23, 2013 7:12 PM, "John Dennis" <jdennis(a)redhat.com> wrote:
> On 04/23/2013 04:46 AM, George varghese wrote:
>
>> Hi,
>>
>> Here, I am trying to implement CIM provider
>>
>> I have created mof file named test.mof and its content is copied here.
>>
>
> You may find the following document helpful as you start your development.
>
>
http://jdennis.fedorapeople.**org/cim-provider-howto.pdf<http://jdenni...
>
> Several of the problems you've already hit are covered there.
>
> The above URL is not the official location of the document, it was
> recently contributed to OpenLMI and the OpenLMI team will be distributing a
> version of it, not sure if that's occurred yet or not.
>
> --
> John Dennis <jdennis(a)redhat.com>
>
> Looking to carve out IT costs?
>
www.redhat.com/carveoutcosts/
>