Class registration for asociators

Bruce Lowe <[email protected]> Fri, 3 May 2013 13:08:13 -0700
Newsgroups gmane.network.open-pegasus.general
Message-ID <CAAFq50pDtynCpmZN4G7HxTw62KKmogCUNKryZ7YF5rtNXtA0Sw@mail.gmail.com>
Hello,

I have a question about how the Pegasus CIMOM calls associators() according
to registered classes (version 2.12, on Windows 64 bit).

Suppose I have a Storage System, for which I have defined and registered a
series of "ACME_xxx" subclasses.

It seems pretty clear that, for enumeration functions, if I ask, for
example, for "CIM_StorageExtent", the cimom will see that I have registered
subclasses "ACME_DiskExtent" and "ACME_StorageVolume", and the cimom will
call my provider twice, passing these two subclass names as the object
types to be enumerated.

For associators() calls, this registered subclass/multiple provider call
scheme seems to work the same way, ---for the association class ---, that
is, if I pass (from the client) an association class parameter containing
the name of a generic association superclass, my provider gets called for
each subclass of that association class I have defined/registered.

However, the same is not true for the Result Class. For this parameter, the
result class parameter arriving at my provider contains the string that I
passed to the client. No registered subclasses, just the string verbatim -
it doesn't matter if I have no subclasses for this input superclass
registered, or even if the class exists at all. If I send the resultClass
parameter to my client as "CIM_FooBar", that's what my provider gets from
the CIMOM.

Is this as it should be, and this is how the model is supposed to work? Or
have I perhaps erred in my class definitions somewhere?

Thanks for any input,
-Bruce