<br><tt><font size=2>libvirt-cim-bounces@redhat.com wrote on 2009-04-02
08:24:52:<br>
<br>
> >      rpcs_conn = eval("rpcs_service."
+ get_typed_class(options.virt, \<br>
> >                  
     "ResourcePoolConfigurationService"))(options.ip)<br>
> > +    curr_cim_rev, changeset = get_provider_version(options.virt,
<br>
> options.ip)<br>
> > +    if curr_cim_rev >= libvirt_cim_child_pool_rev:<br>
> > +        cim_errno = pywbem.CIM_ERR_INVALID_PARAMETER<br>
> > +    else:<br>
> > +        cim_errno  = pywbem.CIM_ERR_NOT_SUPPORTED<br>
> >      try:<br>
> >          rpcs_conn.CreateChildResourcePool()<br>
> >      except pywbem.CIMError, (err_no, desc):<br>
> <br>
> Sorry Daisy, I didn't have a chance to look at the first revision.<br>
> <br>
> Agreed - you need to branch this test.  However, this method
is now <br>
> supported.  So, for libvirt-cim >= 837, this test should attempt
to <br>
> create network pool and verify that network pool is created.</font></tt>
<br>
<br><tt><font size=2>  There are three arguments in CreateChildResourcePool:</font></tt>
<br><tt><font size=2>  ElementName, Settings and ParentPool.</font></tt>
<br><tt><font size=2>  What's the ParentPool on cimtest? Do I have
to create a primordial pool at first?</font></tt>
<br>
<br><tt><font size=2>  One more thing, the provider only support create
networkpool now, right?</font></tt>
<br>
<br>
<br><tt><font size=2>  Thanks!</font></tt>
<br><tt><font size=2><br>
> <br>
> -- <br>
> Kaitlin Rupert<br>
> IBM Linux Technology Center<br>
> kaitlin@linux.vnet.ibm.com<br>
> <br>
> _______________________________________________<br>
> Libvirt-cim mailing list<br>
> Libvirt-cim@redhat.com<br>
> https://www.redhat.com/mailman/listinfo/libvirt-cim<br>
</font></tt>