rpcs_conn = eval("rpcs_service." +
get_typed_class(options.virt, \
"ResourcePoolConfigurationService"))(options.ip)
+ curr_cim_rev, changeset = get_provider_version(options.virt, options.ip)
+ if curr_cim_rev >= libvirt_cim_child_pool_rev:
+ cim_errno = pywbem.CIM_ERR_INVALID_PARAMETER
+ else:
+ cim_errno = pywbem.CIM_ERR_NOT_SUPPORTED
try:
rpcs_conn.CreateChildResourcePool()
except pywbem.CIMError, (err_no, desc):
Sorry Daisy, I didn't have a chance to look at the first revision.
Agreed - you need to branch this test. However, this method is now
supported. So, for libvirt-cim >= 837, this test should attempt to
create network pool and verify that network pool is created.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com