<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">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
cite="mid:CAF+s_tutiQkTZJzSASARXKkmNnJ_HTiqaGRhz_z-b94VJ1iy8g@mail.gmail.com"
type="cite">
<div dir="ltr">
<p class="">Hi,</p>
<p class=""> Here, I am trying to implement CIM provider</p>
<p class=""> I have created mof file named test.mof and its
content is copied here.</p>
<p class=""> class GK_UnixProcess : CIM_UnixProcess</p>
<p class="">{</p>
<p class=""> [Description("Send signal to the process.")]</p>
<p class=""> uint32 Signal(</p>
<p class=""> [Description("Number of the signal."),</p>
<p class=""> ValueMap{"1", "2", "3", "4", "6", "8", "9",
".."},</p>
<p class=""> Values{"SIGHUP", "SIGINT", "SIGQUIT",
"SIGILL", "SIGABRT", "SIGFPE", "SIGKILL", "Reserved"}]</p>
<p class=""> uint16 Number</p>
<p class=""> );</p>
<p class="">};</p>
<p class=""> </p>
<p class="">[ Association,</p>
<p class=""> Description("This association connects a process
with all its children.")]</p>
<p class="">class GK_ProcessChild</p>
<p class="">{</p>
<p class=""> [Key, Description("Parent process.")]</p>
<p class=""> GK_UnixProcess REF Parent;</p>
<p class=""> </p>
<p class=""> [Key, Description("Child process.")]</p>
<p class=""> GK_UnixProcess REF Child;</p>
<p class="">};</p>
<p class=""> </p>
<p class="">Then I trying to generate .c and .h file using
konkrete</p>
<p class=""><b><i>$ konkret -s GK_UnixProcess -m ../mof/test.mof
GK_UnixProcess=UnixProcess</i></b></p>
<p class=""><b><i> </i></b>But I got error,</p>
<p class=""><b><i> Using:</i></b></p>
<p class=""><b><i>error: ../mof/LMI_test.mof(3): undefined
qualifier: "Description"</i></b></p>
<p class=""><b><i> </i></b>Please help me, <br>
</p>
<p class=""> </p>
<p class="">Regards,</p>
<p class="">George</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
openlmi-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:openlmi-devel@lists.fedorahosted.org">openlmi-devel@lists.fedorahosted.org</a>
<a class="moz-txt-link-freetext" href="https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel">https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>