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.