# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1236163338 28800
# Node ID 74094ff0c8c8ec5a20da465be65408bee4251838
# Parent b84b3ec0c3d74c2e3c858a0fd82ff615a94bf18b
[TEST] #2 Add "AllocationCapabilities" to associate with ECTP and skip
KVM_RegisteredProfile association
Tested for KVM/LXC with current sources and rpm on Pegasus
Signed-off-by: Guolian Yun<yunguol(a)cn.ibm.com>
diff -r b84b3ec0c3d7 -r 74094ff0c8c8
suites/libvirt-cim/cimtest/ElementConforms/01_forward.py
--- a/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Tue Mar 03 09:05:40 2009
-0800
+++ b/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Wed Mar 04 02:42:18 2009
-0800
@@ -63,7 +63,7 @@
curr_cim_rev, changeset = get_provider_version(virt, server)
if curr_cim_rev >= libvirt_cim_ectp_changes:
cn_names2 = ["VirtualSystemMigrationService", "DiskPool",
"NetworkPool",
- "ProcessorPool", "MemoryPool"]
+ "ProcessorPool", "MemoryPool",
"AllocationCapabilities"]
cn_names.extend(cn_names2)
if curr_cim_rev >= libvirt_cim_input_graphics_ectp:
cn_names.append("ConsoleRedirectionService")
@@ -136,6 +136,10 @@
if profile.InstanceID not in unsupp_prof:
profiles_instid_list.append(profile.InstanceID)
+ for prof_id in profiles_instid_list:
+ if prof_id == "CIM:DSP1041-ResourceAllocation-1.1.0c":
+ profiles_instid_list.remove(prof_id)
+
return status, profiles_instid_list
@do_main(sup_types)