[Libvirt-cim] [PATCH] Add cu_compare_ref()

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Nov 6 02:14:55 UTC 2007


Dan Smith wrote:
> So, after some experimentation, I have determined that neither Pegasus
> nor SFCB set the key properties in an ObjectPath if they are not set
> by the client.  The following works on both:
>
>   % wbemcli gi 'http://root:password@localhost/root/ibmsd:Xen_VirtualSystemManagementService.Name="Management Service"'
>   
This also worked for me using Pegaus.
> This means that Pegasus does not require all keys (as specified in the
> schema for a given class) to be set.
>
> If I loop through the keys in the GetInstance handler case of above,
> only "Name" is set.  I don't get the other three keys of CIM_Service
> set.
>   
Is there someplace that spells out exactly how the keys should be used?  
My only understanding of them is that the keys - as a set - should be 
unique per instance.

-- 
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com





More information about the Libvirt-cim mailing list