Hi,
For registering a profile, I have done following things.
1. Design a mof file , contents are copied here
class GK_RegisteredProfile : CIM_RegisteredProfile{
};
[Association]
class GK_ElementConformsToProfile : CIM_ElementConformsToProfile{
};
2. Generated provider files for GK_RegisteredProfile and
GK_ElementConformsToProfile classes.
3. Implemented GK_RegisteredProfileProvider , EnumInstances method and fill
properties.
I don't know the K_ElementConformsToProfileProvider class implementation of
methods. What is the purpose of this class? which method need to
implement..
Please note that CIMOM is sfcb.
Please help me.
Regards,
George
On Tue, Jul 16, 2013 at 8:44 PM, George varghese <georgooty(a)gmail.com>wrote:
I had using CIMOM is sfcb. Could you please provider more details
about
which classes I create
could you please share the sample mof file for this.
I see these cim classes need for registering
1.CIM_RegisteredProfile
2. CIM_ReferencedProfile
3. CIM_ElementConformsToProfile
class GK_RegisteredProfile:CIM_RegisteredProfile
{
};
Need derivation from CIM classes?
I think implementation comes only GK_RegsieredProfileProvider class
enumInstances function? is it right?
Please provider more details.
Regards,
George
On Tue, Jul 16, 2013 at 8:21 PM, Jan Safranek <jsafrane(a)redhat.com> wrote:
> On 07/16/2013 08:38 AM, George varghese wrote:
> > Hi,
> >
> > I read profile registration profile standard document. I don't have
> > clear about it. If you can, please tell about.
> > If we have created a new profile, should need to register it right?
> >
>
> Yes, if you implement a profile you must register it.
>
> > How it achieve?
>
> It depends on CIMOM you use. For Pegasus, you can see documentation and
> examples at
>
>
https://collaboration.opengroup.org/pegasus/pp/documents/16888/PEP319_DMT...
>
> Ask on Pegasus user list for details.
>
> For SFCB, you must create instances of all CIM classes by yourself. Ask
> on sblim user list for details.
>
>
> Jan
>
>
> _______________________________________________
> openlmi-devel mailing list
> openlmi-devel(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel
>