# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1211896734 -28800
# Node ID d84f01d8f9583427271f4238d953e0587fb8a82a
# Parent 3233a070377270931b4cc1d790b6782fee17d1b6
[TEST] Update EnabledLogicalElementCapabilities.01&02 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3233a0703772 -r d84f01d8f958
suites/libvirt-cim/cimtest/EnabledLogicalElementCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/EnabledLogicalElementCapabilities/01_enum.py Fri May 23
18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/EnabledLogicalElementCapabilities/01_enum.py Tue May 27
21:58:54 2008 +0800
@@ -29,7 +29,7 @@
from VirtLib import live
from VirtLib import utils
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
@do_main(sup_types)
def main():
diff -r 3233a0703772 -r d84f01d8f958
suites/libvirt-cim/cimtest/EnabledLogicalElementCapabilities/02_elecap_gi_errs.py
---
a/suites/libvirt-cim/cimtest/EnabledLogicalElementCapabilities/02_elecap_gi_errs.py Fri
May 23 18:14:28 2008 +0800
+++
b/suites/libvirt-cim/cimtest/EnabledLogicalElementCapabilities/02_elecap_gi_errs.py Tue
May 27 21:58:54 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_FAILED, \
diff -r 3233a0703772 -r d84f01d8f958 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:58:54 2008 +0800
@@ -141,6 +141,9 @@
pass
class KVM_EnabledLogicalElementCapabilities(CIM_EnabledLogicalElementCapabilities):
+ pass
+
+class LXC_EnabledLogicalElementCapabilities(CIM_EnabledLogicalElementCapabilities):
pass
class Xen_DiskPool(CIM_ResourcePool):
Show replies by date