I've been looking at the Konkret doc and the various OpenLMI providers
and there seems to be an an inherent assumption that enumerateInstances
will be called exactly once. There are no checks to see if an instance
already exists during the enumeration. I went to the CMPI spec for a
clarification, except it had nothing to say about this (at least as far
I could find).
My naive assumption for a function with the verb Enumerate in it's name
followed by the noun Instance says you're suppose to return a list of
existing Instances, not create them. Also you might be asked to
enumerate those same Instances more than once (i.e. give me a list of
what you've got).
But it seems like the actual semantics are "create your initial set of
default instances and tell me what they are" Hence it has more to do
with creation than enumeration. Is this correct or do I have a
misunderstanding? Is this actually spelled out someplace? If so can you
point me at that doc?
Thanks,
John
--
John Dennis <jdennis(a)redhat.com>
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/