[Libvirt-cim] [PATCH 2 of 2] [TEST] Added new tc to verify the RPCS error values

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Thu Sep 10 05:04:26 UTC 2009



Kaitlin Rupert wrote:
>
>>>> + # Creating NETFS pool to verify RPCS error
>>>> + status = create_pool(server, virt, pool_name, pool_attr, + 
>>>> mode_type=pool_type, pool_type=dp_cn)
>>>
>>> A netfs pool requires a nfsserver running on the system, and not all 
>>> systems have nfs installed. So I wouldn't use the netfs type pool in 
>>> this test.
>>
>> Other pool types would require user to give inputs. So I found netfs 
>> the only option to verify the error.
>> Any suggestion for the pool types ?
>>>
>
> Why not use a directory pool? The case you're trying to test is 
> whether libvirt-cim returns an error if a pool with that name has 
> already been specified.
>
> For this case, the pool type doesn't matter. The provider does a look 
> up in libvirt based on the pool name - it doesn't even consider the 
> pool type.
>
yes we can use the dir pool for the duplicate path verification but for 
verifying the unsupported error we would require a pool other than dir pool.

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




More information about the Libvirt-cim mailing list