<br><tt><font size=2>libvirt-cim-bounces@redhat.com wrote on 2009-02-06
07:25:55:<br>
<br>
> yunguol@cn.ibm.com wrote:<br>
> > # HG changeset patch<br>
> > # User Guolian Yun <yunguol@cn.ibm.com><br>
> > # Date 1233813653 28800<br>
> > # Node ID 7ee851d72773c17390641ee50ec20387f9af08d1<br>
> > # Parent  edfa908a60d058c7f1ba7394bd1d818999802287<br>
> > [TEST] Fix SettingsDefineCapabilities/01_forward.py with <br>
> appropriate RASD objects for different platforms<br>
> > <br>
> > Update the number of returned RASD objects to 16 for Xen, 8 for
KVM<br>
> > <br>
> > Tested for KVM/Xen/LXC with current sources, KVM with F9 rpm.<br>
> > <br>
> > Signed-off-by: Guolian Yun<yunguol@cn.ibm.com><br>
> > <br>
> > diff -r edfa908a60d0 -r 7ee851d72773 suites/libvirt-<br>
> cim/cimtest/SettingsDefineCapabilities/01_forward.py<br>
> > --- a/suites/libvirt-<br>
> cim/cimtest/SettingsDefineCapabilities/01_forward.py   Tue Feb
03 <br>
> 09:37:05 2009 -0800<br>
> > +++ b/suites/libvirt-<br>
> cim/cimtest/SettingsDefineCapabilities/01_forward.py   Wed Feb
04 <br>
> 22:00:53 2009 -0800<br>
> > @@ -176,6 +176,9 @@<br>
> >                  #
For Diskpool, we have info 1 for each of Min, Max, <br>
> >                  #
default, Increment and 1 for each of PV and FV <br>
> >                  #
hence 4 * 2 = 8 records<br>
> > +                exp_len
= 16<br>
> <br>
> You need 2 branches here - The value needs to be 8 for: rev >=
707 and <br>
> rev < 805<br>
> <br>
> It needs to be 16 if rev >= 805.<br>
> <br>
> > +            elif 'DiskPool' in
instid and virt == 'KVM' and \<br>
> > +                curr_cim_rev
>= libvirt_rasd_template_changes:<br>
> >                  exp_len
= 8<br>
> <br>
> Same here - the change was made in version 805.</font></tt>
<br>
<br><tt><font size=2>  I fixed it on #2 patch, the same as HostSystem/03_hs_to_settdefcap.py.</font></tt>
<br><tt><font size=2>  Thanks!<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>