[Libvirt-cim] [PATCH] [TEST] #2 Add branch of err code to RPCS/04
Guo Lian Yun
yunguol at cn.ibm.com
Thu Apr 2 06:44:18 UTC 2009
libvirt-cim-bounces at 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.
>
I will work it out on the next patch =)
> --
> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin at linux.vnet.ibm.com
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20090402/e9230b9b/attachment.htm>
More information about the Libvirt-cim
mailing list