[PATCH] [TEST] fix error description in SettingsDefineCapabilities.03, which result in fails with sfcb
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213252913 -28800
# Node ID 5ba940289209e59d649d11272142b8ffec071730
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST] fix error description in SettingsDefineCapabilities.03, which result in fails with sfcb
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r 5ba940289209 suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py
--- a/suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/SettingsDefineCapabilities/03_forward_errs.py Thu Jun 12 14:41:53 2008 +0800
@@ -37,9 +37,9 @@
expr_values = {
"invalid_instid_keyname" : { 'rc' : pywbem.CIM_ERR_FAILED,
- 'desc' : 'CIM_ERR_FAILED: Missing InstanceID'},
+ 'desc' : 'Missing InstanceID'},
"invalid_instid_keyvalue" : { 'rc' : pywbem.CIM_ERR_FAILED,
- 'desc' : 'CIM_ERR_FAILED: Unable to determine\
+ 'desc' : 'Unable to determine\
resource type' },
"invalid_ccname_keyname" : { 'rc' : pywbem.CIM_ERR_INVALID_PARAMETER,
'desc' : 'CIM_ERR_INVALID_PARAMETER' }
16 years, 6 months
[PATCH] [TEST] 2# VirtualSystemSettingDataComponent.02&03 for LXC support, perfect conditional case for prefix
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213240048 -28800
# Node ID 4e6f7c50a5b403b88d0d2a8b1cb83d92b4873532
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST] 2# VirtualSystemSettingDataComponent.02&03 for LXC support, perfect conditional case for prefix
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r 4e6f7c50a5b4 suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/02_reverse.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/02_reverse.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/02_reverse.py Thu Jun 12 11:07:28 2008 +0800
@@ -57,7 +57,7 @@
from CimTest.ReturnCodes import PASS, FAIL
from XenKvmLib.const import CIM_REV
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
test_dom = "VSSDC_dom"
test_vcpus = 1
@@ -143,17 +143,20 @@
else:
test_disk = "hdb"
virt_xml = vxml.get_class(options.virt)
- cxml = virt_xml(test_dom, vcpus = test_vcpus, mac = test_mac, disk = test_disk)
+ if options.virt == 'LXC':
+ cxml = virt_xml(test_dom)
+ else:
+ cxml = virt_xml(test_dom, vcpus = test_vcpus, mac = test_mac, disk = test_disk)
ret = cxml.create(options.ip)
if not ret:
logger.error("Failed to create the dom: %s", test_dom)
status = FAIL
return status
- if options.virt == "Xen" or options.virt == "XenFV":
+ if options.virt == "XenFV":
instIdval = "Xen:%s" % test_dom
else:
- instIdval = "KVM:%s" % test_dom
+ instIdval = "%s:%s" % (options.virt, test_dom)
try:
assoc_info = assoc.AssociatorNames(options.ip,
diff -r b9100cec9aed -r 4e6f7c50a5b4 suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/03_vssdc_fwd_errs.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/03_vssdc_fwd_errs.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/03_vssdc_fwd_errs.py Thu Jun 12 11:07:28 2008 +0800
@@ -64,7 +64,7 @@
from CimTest.Globals import CIM_USER, CIM_PASS, CIM_NS
from XenKvmLib.const import CIM_REV
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
test_dom = "domu1"
test_mac = "00:11:22:33:44:aa"
@@ -115,7 +115,10 @@
test_disk = "hda"
virt_xml = vxml.get_class(options.virt)
- cxml = virt_xml(test_dom, vcpus = test_vcpus, mac = test_mac, disk = test_disk)
+ if options.virt == 'LXC':
+ cxml = virt_xml(test_dom)
+ else:
+ cxml = virt_xml(test_dom, vcpus = test_vcpus, mac = test_mac, disk = test_disk)
ret = cxml.create(options.ip)
if not ret:
logger.error('Unable to create domain %s' % test_dom)
16 years, 6 months
[PATCH] [TEST]2# Update VirtualSystemSettingDataComponent.04 for LXC support
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213239299 -28800
# Node ID e9d50146ccde3d1eaef531dcbd99f30a8db94183
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST]2# Update VirtualSystemSettingDataComponent.04 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r e9d50146ccde suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/04_vssdc_rev_errs.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/04_vssdc_rev_errs.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSettingDataComponent/04_vssdc_rev_errs.py Thu Jun 12 10:54:59 2008 +0800
@@ -66,7 +66,7 @@
from CimTest.Globals import do_main, logger
from CimTest.Globals import CIM_USER, CIM_PASS, CIM_NS
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
test_dom = "domu1"
@@ -121,7 +121,7 @@
if options.virt == "Xen" or options.virt == "XenFV":
inst_id = "Xen:%s" % test_dom
else:
- inst_id = "KVM:%s" % test_dom
+ inst_id = "%s:%s" % (options.virt, test_dom)
name_val = ['InstanceID', inst_id]
16 years, 6 months
[PATCH] [TEST] 2# VirtualSystemManagementService.05&07 for LXC support, fix the sending date on my own system
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213237841 -28800
# Node ID 9bbf8a02a4e6108143812c27161287241de2536e
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST] 2# VirtualSystemManagementService.05&07 for LXC support, fix the sending date on my own system
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r 9bbf8a02a4e6 suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py Thu Jun 12 10:30:41 2008 +0800
@@ -33,7 +33,7 @@
from CimTest.Globals import do_main
from CimTest.ReturnCodes import FAIL, PASS, SKIP
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
vsms_status_version = 534
def destroysystem_fail(tc, options):
diff -r b9100cec9aed -r 9bbf8a02a4e6 suites/libvirt-cim/cimtest/VirtualSystemManagementService/07_addresource_neg.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/07_addresource_neg.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/07_addresource_neg.py Thu Jun 12 10:30:41 2008 +0800
@@ -33,7 +33,7 @@
from CimTest.Globals import do_main
from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
exp_rc = 1 #CMPI_RC_ERR_FAILED
exp_desc = 'Unable to parse embedded object'
16 years, 6 months
[PATCH] [TEST] 2# VirtualSystemManagementService.02~04 for LXC support, fix the sending date on my own system
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213237614 -28800
# Node ID fe22d8d479a4421e4e8d8aa0062f1f5532209384
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST] 2# VirtualSystemManagementService.02~04 for LXC support, fix the sending date on my own system
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r fe22d8d479a4 suites/libvirt-cim/cimtest/VirtualSystemManagementService/02_destroysystem.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/02_destroysystem.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/02_destroysystem.py Thu Jun 12 10:26:54 2008 +0800
@@ -33,7 +33,7 @@
from CimTest.Globals import logger
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
default_dom = 'test_domain'
rev = 528
diff -r b9100cec9aed -r fe22d8d479a4 suites/libvirt-cim/cimtest/VirtualSystemManagementService/03_definesystem_ess.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/03_definesystem_ess.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/03_definesystem_ess.py Thu Jun 12 10:26:54 2008 +0800
@@ -32,7 +32,7 @@
from CimTest.Globals import do_main
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
exp_rc = 1 #CMPI_RC_ERR_FAILED
exp_desc = 'Unable to parse embedded object'
diff -r b9100cec9aed -r fe22d8d479a4 suites/libvirt-cim/cimtest/VirtualSystemManagementService/04_definesystem_ers.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/04_definesystem_ers.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/04_definesystem_ers.py Thu Jun 12 10:26:54 2008 +0800
@@ -32,7 +32,7 @@
from CimTest.Globals import do_main
from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
exp_rc = 1 #CMPI_RC_ERR_FAILED
exp_desc = 'Unable to parse embedded object'
16 years, 6 months
[PATCH] [TEST] 2# Memory.02 for LXC support, fix the sending date on my own system
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213237386 -28800
# Node ID e614f60678f2e914b572c8c8e8ca58fbbc4c3138
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST] 2# Memory.02 for LXC support, fix the sending date on my own system
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r e614f60678f2 suites/libvirt-cim/cimtest/Memory/02_defgetmem.py
--- a/suites/libvirt-cim/cimtest/Memory/02_defgetmem.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/Memory/02_defgetmem.py Thu Jun 12 10:23:06 2008 +0800
@@ -34,7 +34,7 @@
from XenKvmLib.devices import get_dom_mem_inst
from CimTest.Globals import logger, do_main
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
default_dom = "domu"
def check_mem(memInst):
16 years, 6 months
[PATCH] [TEST] 2# HostSystem.06 for LXC support, fix the date on my machine
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213237178 -28800
# Node ID f0da87170442a8f6e2e26e11fcbcf3cb8bafff1d
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST] 2# HostSystem.06 for LXC support, fix the date on my machine
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r b9100cec9aed -r f0da87170442 suites/libvirt-cim/cimtest/HostSystem/06_hs_to_vsms.py
--- a/suites/libvirt-cim/cimtest/HostSystem/06_hs_to_vsms.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/cimtest/HostSystem/06_hs_to_vsms.py Thu Jun 12 10:19:38 2008 +0800
@@ -53,7 +53,7 @@
CIM_ERROR_ASSOCIATORS
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
def print_err(err, detail, cn):
logger.error(err % cn)
16 years, 6 months
[PATCH] [TEST] Moving the init_list() to rasd.py
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1213188838 25200
# Node ID 9fb67711f2dfe3010d20862f36160b5a91b36c49
# Parent b9100cec9aedb9f9243d753111a9a856e9480335
[TEST] Moving the init_list() to rasd.py
1) Most of the tc use init_list() fn to verify the RASD values, hence moved it to rasd.py.
2) Added the logic to pick up the networktype used by the guest while creating to verify the RASD values.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>.
diff -r b9100cec9aed -r 9fb67711f2df suites/libvirt-cim/lib/XenKvmLib/rasd.py
--- a/suites/libvirt-cim/lib/XenKvmLib/rasd.py Wed Jun 11 03:38:49 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/rasd.py Wed Jun 11 05:53:58 2008 -0700
@@ -21,28 +21,96 @@
#
import sys
-from CimTest import Globals
from CimTest.Globals import log_param, logger
from CimTest.ReturnCodes import FAIL, PASS
+from XenKvmLib.const import CIM_REV
+from XenKvmLib import vxml
+from XenKvmLib.classes import get_typed_class
+
pasd_cn = 'ProcResourceAllocationSettingData'
nasd_cn = 'NetResourceAllocationSettingData'
dasd_cn = 'DiskResourceAllocationSettingData'
masd_cn = 'MemResourceAllocationSettingData'
+global proc_cn, mem_cn, net_cn, disk_cn
+
+
+mem_units_rev = 529
+proc_instid_rev = 590
+
+def rasd_init_list(vsxml, virt, test_disk, test_dom, test_mac, test_mem):
+ """
+ Creating the lists that will be used for comparisons.
+ """
+ global proc_cn, mem_cn, net_cn, disk_cn
+ proc_cn = get_typed_class(virt, "Processor")
+ mem_cn = get_typed_class(virt, "Memory")
+ net_cn = get_typed_class(virt, "NetworkPort")
+ disk_cn = get_typed_class(virt, "LogicalDisk")
+ try:
+
+ disk_path = vsxml.xml_get_disk_source()
+
+ if CIM_REV < mem_units_rev:
+ alloc_units = "MegaBytes"
+ else:
+ alloc_units = "KiloBytes"
+
+ if CIM_REV < proc_instid_rev:
+ proc_id = '%s/%s' %(test_dom, 0)
+ else:
+ proc_id = '%s/%s' %(test_dom, "proc")
+
+
+ rasd_values = {
+ proc_cn : {
+ "InstanceID" : proc_id,
+ "ResourceType" : 3,
+ },
+ disk_cn : {
+ "InstanceID" : '%s/%s' %(test_dom,
+ test_disk),
+ "ResourceType" : 17,
+ "Address" : disk_path,
+ },
+ net_cn : {
+ "InstanceID" : '%s/%s' %(test_dom,
+ test_mac),
+ "ResourceType" : 10 ,
+ "ntype" : [ 'bridge', 'user',
+ 'network', 'ethernet']
+ },
+ mem_cn : {
+ "InstanceID" : '%s/%s' %(test_dom, "mem"),
+ "ResourceType" : 4,
+ "AllocationUnits" : alloc_units,
+ "VirtualQuantity" : (test_mem * 1024),
+ }
+ }
+ except Exception, details:
+ logger.error("Exception: In fn rasd_init_list %s", details)
+ return FAIL, rasd_values
+
+ nettype = vsxml.xml_get_net_type()
+ if not nettype in rasd_values[net_cn]['ntype']:
+ logger.info("Adding the %s net type", nettype)
+ rasd_values[net_cn]['ntype'].append(nettype)
+
+ return PASS, rasd_values
def CCN_err(assoc_info, list):
- Globals.logger.error("%s Mismatch", 'CreationClassName')
- Globals.logger.error("Returned %s instead of %s", \
+ logger.error("%s Mismatch", 'CreationClassName')
+ logger.error("Returned %s instead of %s", \
assoc_info['CreationClassName'], list['CreationClassName'])
def RType_err(assoc_info, list):
- Globals.logger.error("%s Mismatch", 'ResourceType')
- Globals.logger.error("Returned %s instead of %s", \
+ logger.error("%s Mismatch", 'ResourceType')
+ logger.error("Returned %s instead of %s", \
assoc_info['ResourceType'], list['ResourceType'])
def InstId_err(assoc_info, list):
- Globals.logger.error("%s Mismatch", 'InstanceID')
- Globals.logger.error("Returned %s instead of %s", \
+ logger.error("%s Mismatch", 'InstanceID')
+ logger.error("Returned %s instead of %s", \
assoc_info['InstanceID'], list['InstanceID'])
def verify_procrasd_values(assoc_info, procrasd_list):
@@ -63,12 +131,10 @@ def verify_netrasd_values(assoc_info, ne
if assoc_info['ResourceType'] != netrasd_list['ResourceType']:
RType_err(assoc_info, netrasd_list)
status = FAIL
- if assoc_info['NetworkType'] != netrasd_list['ntype1'] and \
- assoc_info['NetworkType'] != netrasd_list['ntype2']:
- Globals.logger.error("%s Mismatch", 'NetworkType')
- Globals.logger.error("Returned %s instead of %s or %s", \
- assoc_info['NetworkType'], netrasd_list['ntype1'],
- netrasd_list['ntype2'])
+ if not assoc_info['NetworkType'] in netrasd_list['ntype']:
+ logger.error("%s Mismatch", 'NetworkType')
+ logger.error("Returned '%s' instead of returning one of %s types",
+ assoc_info['NetworkType'], netrasd_list['ntype'])
status = FAIL
return status
@@ -81,8 +147,8 @@ def verify_diskrasd_values(assoc_info, d
RType_err(assoc_info, diskrasd_list)
status = FAIL
if assoc_info['Address'] != diskrasd_list['Address']:
- Globals.logger.error("%s Mismatch", 'Address')
- Globals.logger.error("Returned %s instead of %s ", \
+ logger.error("%s Mismatch", 'Address')
+ logger.error("Returned %s instead of %s ", \
assoc_info['Address'], diskrasd_list['Address'])
status = FAIL
return status
@@ -96,13 +162,13 @@ def verify_memrasd_values(assoc_info, me
RType_err(assoc_info, memrasd_list)
status = FAIL
if assoc_info['AllocationUnits'] != memrasd_list['AllocationUnits']:
- Globals.logger.error("%s Mismatch", 'AllocationUnits')
- Globals.logger.error("Returned %s instead of %s ", \
+ logger.error("%s Mismatch", 'AllocationUnits')
+ logger.error("Returned %s instead of %s ", \
assoc_info['AllocationUnits'], memrasd_list['AllocationUnits'])
status = FAIL
if assoc_info['VirtualQuantity'] != memrasd_list['VirtualQuantity']:
- Globals.logger.error("%s mismatch", 'VirtualQuantity')
- Globals.logger.error("Returned %s instead of %s ", \
+ logger.error("%s mismatch", 'VirtualQuantity')
+ logger.error("Returned %s instead of %s ", \
assoc_info['VirtualQuantity'], memrasd_list['VirtualQuantity'])
status = FAIL
return status
16 years, 6 months
[PATCH] Make configure.ac attempt to set the default xen emulator
by Dan Smith
# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1213200322 25200
# Node ID 4490ff0e39c77b64e9380151dd9b6f3b217836f4
# Parent cb1993563ebbca5bb4f7392f42d33019af7668bc
Make configure.ac attempt to set the default xen emulator
by checking lib and lib64
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r cb1993563ebb -r 4490ff0e39c7 configure.ac
--- a/configure.ac Wed Jun 11 08:31:44 2008 -0700
+++ b/configure.ac Wed Jun 11 09:05:22 2008 -0700
@@ -87,10 +87,18 @@
AC_SUBST(MIG_CHECKS_DIR)
AC_DEFINE_UNQUOTED(MIG_CHECKS_DIR, "$MIG_CHECKS_DIR", [External migration check timeout])
+if test -x /usr/lib64/xen/bin/qemu-dm; then
+ default_xen_emulator=/usr/lib64/xen/bin/qemu-dm
+elif test -x /usr/lib/xen/bin/qemu-dm; then
+ default_xen_emulator=/usr/lib/xen/bin/qemu-dm
+else
+ default_xen_emulator=/bin/false
+fi
+
AC_ARG_WITH([xen_emulator],
[ --with-xen_emulator=emu Location of Xen FullVirt emulator],
[test "x$withval" != "x" && XEN_EMULATOR="$withval"],
- [XEN_EMULATOR=/usr/lib/xen/bin/qemu-dm])
+ [XEN_EMULATOR=$default_xen_emulator])
AC_SUBST(XEN_EMULATOR)
AC_DEFINE_UNQUOTED(XEN_EMULATOR, "$XEN_EMULATOR", [Location of Xen FullVirt emulator])
16 years, 6 months
[PATCH] [TEST] Update HostSystem.06 for LXC support
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1213286123 -28800
# Node ID cda16d4e1b97710b5621c7f0665586136720d84a
# Parent 254bc5464030a03b6f791fd49acd208f6ec1db23
[TEST] Update HostSystem.06 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 254bc5464030 -r cda16d4e1b97 suites/libvirt-cim/cimtest/HostSystem/06_hs_to_vsms.py
--- a/suites/libvirt-cim/cimtest/HostSystem/06_hs_to_vsms.py Wed Jun 11 20:56:07 2008 +0800
+++ b/suites/libvirt-cim/cimtest/HostSystem/06_hs_to_vsms.py Thu Jun 12 23:55:23 2008 +0800
@@ -53,7 +53,7 @@
CIM_ERROR_ASSOCIATORS
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
def print_err(err, detail, cn):
logger.error(err % cn)
16 years, 6 months