[Libvirt-cim] [PATCH] [TEST] Update HostedResourcePool[02_reverse.py] to verify the Graphics/Input pools with HostedResourcePool

yunguol at cn.ibm.com yunguol at cn.ibm.com
Mon Dec 8 07:55:14 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1228722909 28800
# Node ID 4916d2dcb779482f0ef9d64e3fd20401b97ca8ff
# Parent  701f3228bdfe740f4a504dce1dfab844c812b9d5
[TEST] Update HostedResourcePool[02_reverse.py] to verify the Graphics/Input pools with HostedResourcePool

Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>

diff -r 701f3228bdfe -r 4916d2dcb779 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:55:09 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():




More information about the Libvirt-cim mailing list