[Libvirt-cim] [PATCH] [TEST] #2 Add "AllocationCapabilities" to associate with ECTP and skip KVM_RegisteredProfile association
Guo Lian Yun
yunguol at cn.ibm.com
Wed Mar 4 10:54:59 UTC 2009
libvirt-cim-bounces at redhat.com wrote on 2009-03-04 18:42:27:
> # HG changeset patch
> # User Guolian Yun <yunguol at 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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20090304/514a575d/attachment.htm>
More information about the Libvirt-cim
mailing list