
libvirt-cim-bounces@redhat.com wrote on 2009-04-02 08:24:52:
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.
There are three arguments in CreateChildResourcePool: ElementName, Settings and ParentPool. What's the ParentPool on cimtest? Do I have to create a primordial pool at first? One more thing, the provider only support create networkpool now, right? Thanks!
-- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim