[Libvirt-cim] [PATCH] [TEST] Modify LogicalDisk.02 to call new EnumInstances

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Oct 14 22:31:15 UTC 2008


>>
>>      try:
>> -        devs = devices.enumerate(options.ip, cn, key_list, options.virt)
>> +        devs = enumclass.Enumerate(options.ip, cn)
>>
>>      except Exception, details:
>>          logger.error(CIM_ERROR_ENUMERATE, cn)
>>
>>   
> Tested this on KVM and it failed with the following error :
> LogicalDisk - 02_nodevs.py: FAIL
> ERROR - Failed to enumerate the class of KVM_LogicalDisk
> ERROR - 'module' object has no attribute 'Enumerate'

This should be enumclass.EnumNames() not, enumclass.Enumerate().

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list