# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1211894553 -28800
# Node ID 15ed90e6683e593cd63664a80e67e662323bb4e6
# Parent 3233a070377270931b4cc1d790b6782fee17d1b6
[TEST] Update VirtualSystemMigrationCapabilities.01&02 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3233a0703772 -r 15ed90e6683e
suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/01_enum.py Fri May 23
18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/01_enum.py Tue May 27
21:22:33 2008 +0800
@@ -28,7 +28,7 @@
from CimTest.Globals import CIM_ERROR_ENUMERATE, logger, do_main
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
def print_error(fieldname, ret_value, exp_value):
logger.error("%s Mismatch", fieldname)
diff -r 3233a0703772 -r 15ed90e6683e
suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/02_vsmc_gi_errs.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/02_vsmc_gi_errs.py Fri
May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/02_vsmc_gi_errs.py Tue
May 27 21:22:33 2008 +0800
@@ -54,7 +54,7 @@
from XenKvmLib.common_util import try_getinstance
from XenKvmLib.classes import get_typed_class
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
expr_values = {
"invalid_instid" : { 'rc' :
pywbem.CIM_ERR_NOT_FOUND, \
diff -r 3233a0703772 -r 15ed90e6683e suites/libvirt-cim/lib/XenKvmLib/enumclass.py
--- a/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Tue May 27 21:22:33 2008 +0800
@@ -159,6 +159,9 @@
pass
class KVM_VirtualSystemMigrationCapabilities(Virt_VirtualSystemMigrationCapabilities):
+ pass
+
+class LXC_VirtualSystemMigrationCapabilities(Virt_VirtualSystemMigrationCapabilities):
pass
class Xen_AllocationCapabilities(CIM_AllocationCapabilities):