konkret file generator(.c and .h)
Michal Minář
miminar at redhat.com
Tue Apr 23 09:18:22 UTC 2013
Hi George,
have you tried exporting KONKRET_SCHEMA_DIR variable?
KONKRET_SCHEMA_DIR=/usr/share/mof/cim-current konkret -s
GK_UnixProcess -m ../mof/test.mof GK_UnixProcess=UnixProcess
should do the trick, if you have CIM schema installed there.
Best regards,
Michal
On 23.4.2013 10:46, 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.
>
> 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
>
>
>
> _______________________________________________
> openlmi-devel mailing list
> openlmi-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/openlmi-devel/attachments/20130423/2ecde1f2/attachment.html>
More information about the openlmi-devel
mailing list