[Libvirt-cim] [PATCH] [TEST] Updating 04_hs_to_EAPF.py to use the verify_device_values() included in the logicaldevices.py

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Wed Jul 23 07:34:05 UTC 2008



Kaitlin Rupert wrote:
>> - else:
>> - status = FAIL
>> + status = verify_device_values(assoc_eafp_info, CCName, + 
>> eafp_values, virt='Xen')
>> +
>
> There's an extra param included here. CCName isn't needed.
>

The definition of the verify_device_values() in logicaldevices.py takes 
the 4 arguments and hence all the 4 which includes CCName is required.
The following is the definition in logicaldevices.py :

def verify_device_values(assoc_info, CCName, list_values, virt='Xen'):
dev_cnames = ['LogicalDisk', 'Memory', 'NetworkPort', 'Processor']
for i in range(len(dev_cnames)):
dev_cnames[i] = get_typed_class(virt, dev_cnames[i])

..............

Regards,
Deepti.




More information about the Libvirt-cim mailing list