[PATCH] [TEST] Update ResourcePool.01&02 for LXC support

# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1212129302 -28800 # Node ID 44fcc3becf862600a1a8f8fc9fe0a3d32f042d13 # Parent 3ac66cf562f082546883c1de0d748471b557cd39 [TEST] Update ResourcePool.01&02 for LXC support Signed-off-by: Guolian Yun <yunguol@cn.ibm.com> diff -r 3ac66cf562f0 -r 44fcc3becf86 suites/libvirt-cim/cimtest/ResourcePool/01_enum.py --- a/suites/libvirt-cim/cimtest/ResourcePool/01_enum.py Fri May 30 00:24:45 2008 +0800 +++ b/suites/libvirt-cim/cimtest/ResourcePool/01_enum.py Fri May 30 14:35:02 2008 +0800 @@ -39,7 +39,7 @@ from XenKvmLib.common_util import cleanup_restore, test_dpath, \ create_diskpool_file -sup_types = ['Xen', 'KVM'] +sup_types = ['Xen', 'KVM', 'LXC'] diskid = "%s/%s" % ("DiskPool", test_dpath) dp_cn = 'DiskPool' diff -r 3ac66cf562f0 -r 44fcc3becf86 suites/libvirt-cim/cimtest/ResourcePool/02_rp_gi_errors.py --- a/suites/libvirt-cim/cimtest/ResourcePool/02_rp_gi_errors.py Fri May 30 00:24:45 2008 +0800 +++ b/suites/libvirt-cim/cimtest/ResourcePool/02_rp_gi_errors.py Fri May 30 14:35:02 2008 +0800 @@ -40,7 +40,7 @@ from XenKvmLib.common_util import cleanup_restore, test_dpath, \ create_diskpool_file -sup_types = ['Xen', 'KVM'] +sup_types = ['Xen', 'KVM', 'LXC'] expr_values = { "invalid_keyname" : { 'rc' : pywbem.CIM_ERR_FAILED,

yunguol@cn.ibm.com wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1212129302 -28800 # Node ID 44fcc3becf862600a1a8f8fc9fe0a3d32f042d13 # Parent 3ac66cf562f082546883c1de0d748471b557cd39 [TEST] Update ResourcePool.01&02 for LXC support
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
diff -r 3ac66cf562f0 -r 44fcc3becf86 suites/libvirt-cim/cimtest/ResourcePool/01_enum.py
The pool that is being created in this test is a directory type pool, which works for KVM and Xen, but doesn't work for containers. See Dan's response in "on the Device and ResourcePool of container" email. We'll need to fix the provider in order to support this properly. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (2)
-
Kaitlin Rupert
-
yunguol@cn.ibm.com