RE: CIMPLE generation problems
"Kumpf, Roger" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <16F53A6138D7A84D93C3CF09D7291CF0690E67138B@GVW0442EXB.americas.hpqcorp.net> |
Ricardo, My point is that I would expect your provider to instrument an Indication subclass, not a Subscription subclass. The client would create instances of the filter, listener, and subscription. -Roger -----Original Message----- From: Ricardo Mendes [mailto:[email protected]] Sent: Wednesday, June 23, 2010 10:38 AM To: Kumpf, Roger Cc: [email protected] Subject: Re: CIMPLE generation problems Hi Roger, I will describe my scenario again: This is my provider: class UA_EventSubscription : CIM_IndicationSubscription { [Description ("To be done")] uint32 EventID; }; The CIM_IndicationSubscription is and association of two key classes: CIM_IndicationFilter and CIM_ListenerDestination. The problem is that I cannot create instances of CIM_IndicationFilter, (mandatory since it's a key class), and so I cannot create an instance of my provider UA_EventSubscription. What should I do? Thanks in advance On Tue, Jun 22, 2010 at 11:14 PM, Kumpf, Roger <[email protected]> wrote: > Ricardo, > > I can't help you with the CIMPLE question, but... > > It is unusual to create a provider to serve the subscription-related classes. The CIM Server handles instrumentation of those classes and their semantics. > > -Roger > > -----Original Message----- > From: Ricardo Mendes [mailto:[email protected]] > Sent: Tuesday, June 22, 2010 1:40 PM > To: [email protected] > Subject: CIMPLE generation problems > > Hi all, > > I have my MOF file and then I created my provider skeleton trough CIMPLE. > One of my providers has inheritance from CIM_IndicationSubscription, > which is an association provider from CIM_IndicationFilter and > CIM_ListenerDestination. > I don't know why, but the CIM_IndicationFilter and > CIM_ListenerDestination weren't created right. Their properties are > incomplete and the methods, like create_instance for instance are > never invoked. > I have created other providers and all went right, but for this two, > and I don't know were is the problem. > Can anyone help me please? > >