Re: 答复: Getting incomplete object path

Pranav S <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <CAOGgbh1pSx3G1w6thDTZcqFKLvrSJ6WKXjoeNeE15PLh9Me9gw@mail.gmail.com>
Hey, I tried checking around key/pair details of quite few classes that
failed, and I see the key/pairs intact. And I can see key/pairs in
Pegasus::CIMObjectPath in the Pegasus::CIMInstances enumerated directly
using Pegasus::enumerateInstances. But the Pegasus::getInstance, returning
incomplete instance. I think I need to debug the issue by analyzing CIM XML
data received from server? One more point, there any debug function
available in SDK which I can use for dumping CIM XML data to a file. Which
might help in my case.



2012/4/14 Pranav S <[email protected]>

> That is interesting point. But I get complete object path name if I do
> Pegasus::enumerateInstances, but I do not get the same result if I do
> Pegasus::enumerateInstanceNames and Pegasus::getInstance. That sounds
> little weird, but thanks for the pointers. I will check for key pairs(Don't
> know how, EMC has not published their mof files!!).
>
>
>
> On 14 April 2012 12:05, Hwang, Johnny <[email protected]> wrote:
>
>>  Only properties that are marked "key" are included in the object path.
>> For info on what's key and what isn't, look in the mof file spec.
>>
>>
>> stupid autocorrect
>>
>>
>> Michael <[email protected]> wrote:
>>
>>
>> I am not sure what do you mean for the incomplete object path. The
>> openpegasus returns the object path which contains the key property of cim
>> instance. could you please give more details on the object path issue you
>> encountered?
>> 從我的 BlackBerry(R) 無線裝置
>> ------------------------------
>> *From: *Pranav S <[email protected]>
>> *Date: *Sat, 14 Apr 2012 11:32:54 +0530
>> *To: *<[email protected]>
>> *Subject: *Getting incomplete object path
>>
>>  Hello,
>>
>> I am enumerating a class instance names(Pegasus::CIMObjectPaths') using
>> Pegasus::enumerateInstanceNames and after that doing Pegasus::getInstance
>> on the obtained object paths. I get entire instance details, but the object
>> path inside the obtained Pegasus::CIMInstance, is incomplete, it shows only
>> the creation class name, rest of the details are not embedded in the
>> Pegasus::CIMObjectPath. I see the instance properties but only object path
>> is incomplete.
>> Can some one spread some light on the issue?
>>
>> I am using OpenPegasus 2.11.1 for client and my Cim server and provider
>> is from EMC.
>>
>> Is this EMC cim server/provider issue?
>>
>> --
>> Thanks,
>> Pranav
>>
>>
>
>
> --
> Thanks,
> Pranav
>
>


-- 
Thanks,
Pranav
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.