<p>Thank you.</p>
<div class="gmail_quote">On Apr 23, 2013 2:48 PM, "Michal Minář" <<a href="mailto:miminar@redhat.com">miminar@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi George,<br>
<br>
have you tried exporting KONKRET_SCHEMA_DIR variable?<br>
KONKRET_SCHEMA_DIR=/usr/share/mof/cim-current konkret -s
GK_UnixProcess -m ../mof/test.mof GK_UnixProcess=UnixProcess<br>
should do the trick, if you have CIM schema installed there.<br>
<br>
Best regards,<br>
Michal<br>
On 23.4.2013 10:46, George varghese wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<p>Hi,</p>
<p> Here, I am trying to implement CIM provider</p>
<p> I have created mof file named test.mof and its
content is copied here.</p>
<p> class GK_UnixProcess : CIM_UnixProcess</p>
<p>{</p>
<p> [Description("Send signal to the process.")]</p>
<p> uint32 Signal(</p>
<p> [Description("Number of the signal."),</p>
<p> ValueMap{"1", "2", "3", "4", "6", "8", "9",
".."},</p>
<p> Values{"SIGHUP", "SIGINT", "SIGQUIT",
"SIGILL", "SIGABRT", "SIGFPE", "SIGKILL", "Reserved"}]</p>
<p> uint16 Number</p>
<p> );</p>
<p>};</p>
<p> </p>
<p>[ Association,</p>
<p> Description("This association connects a process
with all its children.")]</p>
<p>class GK_ProcessChild</p>
<p>{</p>
<p> [Key, Description("Parent process.")]</p>
<p> GK_UnixProcess REF Parent;</p>
<p> </p>
<p> [Key, Description("Child process.")]</p>
<p> GK_UnixProcess REF Child;</p>
<p>};</p>
<p> </p>
<p>Then I trying to generate .c and .h file using
konkrete</p>
<p><b><i>$ konkret -s GK_UnixProcess -m ../mof/test.mof
GK_UnixProcess=UnixProcess</i></b></p>
<p><b><i> </i></b>But I got error,</p>
<p><b><i> Using:</i></b></p>
<p><b><i>error: ../mof/LMI_test.mof(3): undefined
qualifier: "Description"</i></b></p>
<p><b><i> </i></b>Please help me, <br>
</p>
<p> </p>
<p>Regards,</p>
<p>George</p>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
openlmi-devel mailing list
<a href="mailto:openlmi-devel@lists.fedorahosted.org" target="_blank">openlmi-devel@lists.fedorahosted.org</a>
<a href="https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
openlmi-devel mailing list<br>
<a href="mailto:openlmi-devel@lists.fedorahosted.org">openlmi-devel@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel</a><br>
<br></blockquote></div>