Re: CIMPLE generation problems
Ricardo Mendes <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <[email protected]> |
Roger,
I agree with you, but the client doesn't allow me to create instances
of the filter (The action was not supported) and the listener (Unknown
Exception {0}).
I'm using the version CIM Server 2.10.0.
Ricardo
On Wed, Jun 23, 2010 at 6:58 PM, Kumpf, Roger <[email protected]> wrote:
> 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?
>>
>>
>