[PATCH] [TEST] #2 Add "AllocationCapabilities" to associate with ECTP and skip KVM_RegisteredProfile association

# HG changeset patch # User Guolian Yun <yunguol@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@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)

libvirt-cim-bounces@redhat.com wrote on 2009-03-04 18:42:27:
# HG changeset patch # User Guolian Yun <yunguol@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@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)
It's better to skip the association of "CIM:DSP1041-ResourceAllocation-1.1.0c" to ECTP on F10 rpm instead of all the versions of src. But I don't find out the changeset number of this association setting up.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

+ 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)
It's better to skip the association of "CIM:DSP1041-ResourceAllocation-1.1.0c" to ECTP on F10 rpm instead of all the versions of src. But I don't find out the changeset number of this association setting up.
It's changeset 796 -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

@@ -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) +
You'll need to skip this for the following: 818 > changeset >= 796 Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

libvirt-cim-bounces@redhat.com wrote on 2009-03-05 08:36:14:
@@ -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) +
You'll need to skip this for the following:
818 > changeset >= 796
Thanks for this investigation. This updates checked into #3 patch. Thanks!
Thanks!
-- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
participants (3)
-
Guo Lian Yun
-
Kaitlin Rupert
-
yunguol@cn.ibm.com