konkret file generator(.c and .h)
George varghese
georgooty at gmail.com
Tue Apr 23 08:46:19 UTC 2013
Hi,
Here, I am trying to implement CIM provider
I have created mof file named test.mof and its content is copied here.
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;
};
Then I trying to generate .c and .h file using konkrete
*$ konkret -s GK_UnixProcess -m ../mof/test.mof GK_UnixProcess=UnixProcess*
* *But I got error,
* Using:*
*error: ../mof/LMI_test.mof(3): undefined qualifier: "Description"*
* *Please help me,
Regards,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/openlmi-devel/attachments/20130423/ff9ee3d4/attachment.html>
More information about the openlmi-devel
mailing list