# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1211894322 -28800
# Node ID 5e78986367dbd60e05c9f3720935b09404542928
# Parent 3233a070377270931b4cc1d790b6782fee17d1b6
[TEST] update ResourcePoolConfigurationCapabilities.01&02 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3233a0703772 -r 5e78986367db
suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/01_enum.py Fri May
23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/01_enum.py Tue May
27 21:18:42 2008 +0800
@@ -27,7 +27,7 @@
from CimTest.Globals import do_main
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
@do_main(sup_types)
def main():
diff -r 3233a0703772 -r 5e78986367db
suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/02_rpcc_gi_errs.py
---
a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/02_rpcc_gi_errs.py Fri
May 23 18:14:28 2008 +0800
+++
b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/02_rpcc_gi_errs.py Tue
May 27 21:18:42 2008 +0800
@@ -54,7 +54,7 @@
from CimTest.ReturnCodes import PASS, FAIL
from XenKvmLib.common_util import try_getinstance
-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 5e78986367db 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:18:42 2008 +0800
@@ -135,6 +135,9 @@
pass
class
KVM_ResourcePoolConfigurationCapabilities(CIM_ResourcePoolConfigurationCapabilities):
+ pass
+
+class
LXC_ResourcePoolConfigurationCapabilities(CIM_ResourcePoolConfigurationCapabilities):
pass
class Xen_EnabledLogicalElementCapabilities(CIM_EnabledLogicalElementCapabilities):
Show replies by date