Please ignore this patch.
I have to add a branch on this test.
Thanks!
Best,
Regards
Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol(a)cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
Guo Lian Yun/China/IBM@IBMCN
Sent by: libvirt-cim-bounces(a)redhat.com
2008-12-08 15:05
Please respond to
List for discussion and development of libvirt CIM
<libvirt-cim(a)redhat.com>
To
libvirt-cim(a)redhat.com
cc
Subject
[Libvirt-cim] [PATCH] [TEST] Update HostedResourcePool[01.forward.py
and 02_reverse.py] to verify the Graphics/Input pools with
HostedResourcePool
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1228719940 28800
# Node ID 1d39b71ef65d23cbd0ed89b313e715891a66b8d6
# Parent 701f3228bdfe740f4a504dce1dfab844c812b9d5
[TEST] Update HostedResourcePool[01.forward.py and 02_reverse.py] to
verify the Graphics/Input pools with HostedResourcePool
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 701f3228bdfe -r 1d39b71ef65d
suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py
--- a/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py Wed Dec
03 21:31:09 2008 -0800
+++ b/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py Sun Dec
07 23:05:40 2008 -0800
@@ -74,9 +74,13 @@
npool = get_typed_class(virt, 'NetworkPool')
dpool = get_typed_class(virt, 'DiskPool')
ppool = get_typed_class(virt, 'ProcessorPool')
+ ipool = get_typed_class(virt, 'InputPool')
+ gpool = get_typed_class(virt, 'GraphicsPool')
exp_pllist[dpool] = ['DiskPool/%s' % default_pool_name]
exp_pllist[npool] = ['NetworkPool/%s' %default_network_name]
exp_pllist[ppool] = ['ProcessorPool/0']
+ exp_pllist[ipool] = ['InputPool/0']
+ exp_pllist[gpool] = ['GraphicsPool/0']
try:
res_pllist = {}
diff -r 701f3228bdfe -r 1d39b71ef65d
suites/libvirt-cim/cimtest/HostedResourcePool/02_reverse.py
--- a/suites/libvirt-cim/cimtest/HostedResourcePool/02_reverse.py Wed Dec
03 21:31:09 2008 -0800
+++ b/suites/libvirt-cim/cimtest/HostedResourcePool/02_reverse.py Sun Dec
07 23:05:40 2008 -0800
@@ -53,11 +53,15 @@
mem_cn = get_typed_class(options.virt, "MemoryPool")
net_cn = get_typed_class(options.virt, "NetworkPool")
disk_cn = get_typed_class(options.virt, "DiskPool")
+ input_cn = get_typed_class(options.virt, "InputPool")
+ graphics_cn = get_typed_class(options.virt, "GraphicsPool")
poollist = {
mem_cn : "MemoryPool/0",
proc_cn : "ProcessorPool/0",
net_cn : "NetworkPool/%s" % default_network_name,
- disk_cn : "DiskPool/%s" % default_pool_name
+ disk_cn : "DiskPool/%s" % default_pool_name,
+ input_cn : "InputPool/0",
+ graphics_cn : "GrahpicsPool/0"
}
for k, v in poollist.items():
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim