[Libvirt-cim] Extra param in the provider query gives output.

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Fri Oct 3 13:03:29 UTC 2008


Hi,

I am able to get valid output when I query the providers with the fields 
other than the key fields.

For ex:
wbemcli ai -ac Xen_SettingsDefineState 
'http://root:P@localhost:5988/root/virt:Xen_Processor.CreationClassName="Xen_Processor",SystemName="Domain-0",DeviceID="Domain-0/0",SystemCreationClassName="Xen_ComputerSystem",*virtinvalid="Xen"*' 

localhost:5988/root/virt:Xen_ProcResourceAllocationSettingData.InstanceID="Domain-0/proc"
-Caption
-Description
-InstanceID="Domain-0/proc"
-ElementName
-ConfigurationName
-ChangeableType
-ResourceType=3
-OtherResourceType
-ResourceSubType
-PoolID
-ConsumerVisibility
-HostResource
-AllocationUnits
-VirtualQuantity=16
-Reservation
-Limit=0
-Weight=0
-AutomaticAllocation
-AutomaticDeallocation
-Parent
-Connection
-Address
-MappingBehavior

In the above query I supplied invalid parameter *virtinvalid="Xen" 
*which is not part of the key fields for querying the provider.
I think we should be checking our providers to take only the required 
key fields.

Thanks and Regards,
Deepti.




More information about the Libvirt-cim mailing list