>> + # 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.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com