Re: Getting incomplete object path
Pranav S <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <CAOGgbh35OWSYXGyFZ9aZSEtxBVKcANMZmBo1fhC9W4QLRESVaA@mail.gmail.com> |
Hey Venkat, I did not get what is wrong here, even DMTF says the same and Pegasus is one of the implementation. Pegasus::enumerateInstances should be equal to Pegasus::enumerateInstanceNames, running Pegasus::getInstance over each individual Pegasus::CIMObjectPath retyrned from enumerateInstanceNames. I am not getInstance will return an array. On 17 April 2012 19:50, Pranav S <[email protected]> wrote: > That's cool Venkat, Thank You for pointing me to the cause for this > behaviour. > > > > On 17 April 2012 17:29, Venkateswara R Puvvada <[email protected]>wrote: > >> Per the DMTF specification, the GetInstance operation returns an >> <instance> >> whereas EnumerateInstances returns <namedInstance>*. So, the return value >> from GetInstance is not expected to include the instance name. Please >> refer >> to the Specification for CIM Operations over HTTP: >> >> http://www.dmtf.org/sites/default/files/standards/documents/DSP200.html >> >> >> Regards, >> Venkat >> >> >> >> >> From: Pranav S <[email protected]> >> To: [email protected], >> Date: 04/14/2012 11:34 AM >> 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