# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1212463163 -28800
# Node ID 887964b25e814fc7425476e5739c821a756e7bab
# Parent 351d11163eaa0b0af28a9064177ad637aeeb2a8c
[TEST] Update VirtualSystemManagementCapabilities.01&02 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 351d11163eaa -r 887964b25e81
suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/01_enum.py Fri May 30
10:47:26 2008 +0800
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/01_enum.py Tue Jun 03
11:19:23 2008 +0800
@@ -28,7 +28,7 @@
from CimTest.Globals import do_main
from XenKvmLib.classes import get_typed_class
-sup_types=['Xen', 'KVM', 'XenFV']
+sup_types=['Xen', 'KVM', 'XenFV', 'LXC']
@do_main(sup_types)
def main():
diff -r 351d11163eaa -r 887964b25e81
suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/02_vsmcap_gi_errs.py
---
a/suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/02_vsmcap_gi_errs.py Fri
May 30 10:47:26 2008 +0800
+++
b/suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/02_vsmcap_gi_errs.py Tue
Jun 03 11:19:23 2008 +0800
@@ -58,7 +58,7 @@
from CimTest.ReturnCodes import PASS, FAIL
from CimTest.Globals import logger, CIM_USER, CIM_PASS, CIM_NS, do_main
-sup_types=['Xen', 'KVM', 'XenFV']
+sup_types=['Xen', 'KVM', 'XenFV', 'LXC']
expr_values = {
"invalid_instid_keyname" : { 'rc' :
pywbem.CIM_ERR_NOT_FOUND, \
diff -r 351d11163eaa -r 887964b25e81 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 11:19:23 2008 +0800
@@ -141,6 +141,9 @@
pass
class KVM_VirtualSystemManagementCapabilities(CIM_VirtualSystemManagementCapabilities):
+ pass
+
+class LXC_VirtualSystemManagementCapabilities(CIM_VirtualSystemManagementCapabilities):
pass
class
Xen_ResourcePoolConfigurationCapabilities(CIM_ResourcePoolConfigurationCapabilities):
Show replies by date