I work in the Xen CIM group and have recently added some tests for our providers using the sblim-test suite.
I am running the interface test for associations. In some cases an association like e.g. Xen_MemoryElementSettingData, has the source and target classes Xen_MemorySettingData. The associations/associatorNames fail, however, this is a legal setup.
association provider test results
Logged In: YES
user_id=1206169
Originator: NO
Luke, please also attach the cim/Xen_MemoryElementSettingData.cim and stat/Xen_MemoryElementSettingData.cim files. Thanks ... Heidi
Xen_MemoryElementSettingData.cim
Logged In: YES
user_id=1811463
Originator: YES
File Added: Xen_MemoryElementSettingData.cim
Xen_MemoryElementSettingData.cim.stat
Logged In: YES
user_id=1811463
Originator: YES
File Added: Xen_MemoryElementSettingData.cim.stat
Logged In: YES
user_id=1206169
Originator: NO
Luke, please can you provide the result of the following command ?
wbemai -ac Xen_MemoryElementSettingData 'http://localhost:5988/root/cimv2:Xen_MemoryCapabilitiesSettingData.InstanceID="Minimum"'
thanks
Logged In: YES
user_id=1811463
Originator: YES
Heidi - here it is.
wbemai -ac Xen_MemoryElementSettingData 'http://localhost:5988/root/cimv2:Xen_MemoryCapabilitiesSettingData.InstanceID="Minimum"'
localhost:5988/root/cimv2:Xen_MemoryCapabilitiesSettingData.InstanceID="Minimum" ResourceType=3,OtherResourceType,ResourceSubType,PoolID,ConsumerVisibility,HostResource,AllocationUnits="Bytes",VirtualQuantity,Reservation=16777216,Limit=16777216,Weight,AutomaticAllocation,AutomaticDeallocation,Parent,Connection,Address,MappingBehavior,InstanceID="Minimum",ElementName,Caption,Description,Quantity=16777216,Virtualized=false,Mutable=true
Thanks,
Luke
Logged In: YES
user_id=1206169
Originator: NO
Luke,
please can you verify if the sourceClass and targetClass names are correctly defined in the cim/Xen_MemoryElementSettingData.cim file ?
Regarding to the executed call it should be Xen_MemoryCapabilitiesSettingData instead of Xen_MemorySettingData.
In the case of Xen_MemoryCapabilitiesSettingData is derived from Xen_MemorySettingData, then a list of valid class names can be configured by:
sourceClass : Xen_MemorySettingData Xen_MemoryCapabilitiesSettingData
targetClass : Xen_MemorySettingData Xen_MemoryCapabilitiesSettingData
Thanks ... Heidi
Logged In: YES
user_id=1811463
Originator: YES
Heidi -
I verified the source and target classes for Xen_MemoryElementSettingData and they are correct. I am not sure I follow you when you say "Regarding to the executed call it should be
Xen_MemoryCapabilitiesSettingData instead of Xen_MemorySettingData." However, MemoryCapabilitiesSettingData is derived from Xen_MemorySettingData.
I tried the sourceClass : Xen_MemorySettingData Xen_MemoryCapabilitiesSettingData etc. approach and it did not work - I am attaching the file from the stat directory.
Thanks,
Luke
File Added: Xen_MemoryElementSettingData.cim2
Xen_MemoryElementSettingData.cim from stat
Logged In: YES
user_id=1206169
Originator: NO
Luke,
sorry for the late reply. I can confirm that this is a bug in the testsuite. It does not handle the list of class names correct. As fixing this is a bigger effort and I am completely busy with a new job, I will assign this bug report to Tyrel.
Tyrel,
please can you help me and have a look into it ? I would like to fix it, but have no chance to spend the effort. Many Thanks !