# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1212470446 -28800
# Node ID 285ab4b0f2c5f143fe813ee74d03cd17093911b6
# Parent 351d11163eaa0b0af28a9064177ad637aeeb2a8c
[TEST] Update VirtualSystemMigrationSettingData.01&02 for lXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 351d11163eaa -r 285ab4b0f2c5
suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py Fri May 30
10:47:26 2008 +0800
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py Tue Jun 03
13:20:46 2008 +0800
@@ -28,6 +28,8 @@
from CimTest.ReturnCodes import PASS, FAIL
from CimTest.Globals import do_main, platform_sup
from XenKvmLib.classes import get_typed_class
+
+platform_sup = ['Xen', 'KVM', 'XenFV', 'LXC']
def print_error(fieldname, ret_value, exp_value):
logger.error("%s Mismatch", fieldname)
diff -r 351d11163eaa -r 285ab4b0f2c5
suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/02_vsmsd_gi_errs.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/02_vsmsd_gi_errs.py Fri
May 30 10:47:26 2008 +0800
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/02_vsmsd_gi_errs.py Tue
Jun 03 13:20:46 2008 +0800
@@ -52,6 +52,7 @@
from CimTest.Globals import do_main, platform_sup
from XenKvmLib.classes import get_typed_class
+platform_sup = ['Xen', 'XenFV', 'KVM', 'LXC']
expr_values = {
"invalid_instid" : { 'rc' :
pywbem.CIM_ERR_NOT_FOUND, \
diff -r 351d11163eaa -r 285ab4b0f2c5 suites/libvirt-cim/lib/XenKvmLib/enumclass.py
--- a/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Fri May 30 10:47:26 2008 +0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Tue Jun 03 13:20:46 2008 +0800
@@ -201,6 +201,9 @@
pass
class KVM_VirtualSystemMigrationSettingData(CIM_VirtualSystemMigrationSettingData):
+ pass
+
+class LXC_VirtualSystemMigrationSettingData(CIM_VirtualSystemMigrationSettingData):
pass
class Xen_VirtualSystemSnapshotService(CIM_VirtualSystemSnapshotService):
Show replies by date