[Libvirt-cim] [PATCH] [TEST] Update common_util.py to call new EnumInstances

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Oct 14 22:38:46 UTC 2008


yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1223968768 25200
> # Node ID 1fe0fcbda10f32261c3f64f8d77ab4639c2b77ae
> # Parent  c7eaf17bd591f313b93ff2b2087cee11b25789e0
> [TEST] Update common_util.py to call new EnumInstances
> 
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
> 
> diff -r c7eaf17bd591 -r 1fe0fcbda10f suites/libvirt-cim/lib/XenKvmLib/common_util.py
> --- a/suites/libvirt-cim/lib/XenKvmLib/common_util.py	Fri Oct 10 03:08:12 2008 -0700
> +++ b/suites/libvirt-cim/lib/XenKvmLib/common_util.py	Tue Oct 14 00:19:28 2008 -0700
> @@ -217,7 +217,8 @@ def get_host_info(server, virt="Xen"):
>          # sblim-base-provider provider related changes
> 
>          ret, linux_cs = check_sblim(server)
> -        host_info = enumclass.enumerate(server, 'HostSystem', keys, virt)
> +        hs_class = get_typed_class(server, 'HostSystem')

This should be:

hs_class = get_typed_class(virt, 'HostSystem')
-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list