[Libvirt-cim] [PATCH 2 of 3] [TEST] Fixing HostSystem/03_hs_to_settdefcap.py

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Wed Aug 5 10:33:18 UTC 2009



Kaitlin Rupert wrote:
>> }
>> +
>> + curr_cim_rev, changeset = get_provider_version(virt, server)
>> + if curr_cim_rev >= libvirt_rasd_storagepool_changes:
>> + sto_vol_cn = 'StorageVolumeResourceAllocationSettingData'
>> + storagevol_rasd_cn = get_typed_class(virt, sto_vol_cn)
>> + rtype[storagevol_rasd_cn] = 32768
>
> Instead of setting the value 32768 here, can you create a variable in 
> const.py, that way this value has more meaning.
>
> We should have done the same for the other values, but that's 
> something we can clean up later.
>
>
done.

-- 
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list