[Libvirt-cim] [PATCH] [TEST] Update VSSDComponent [01_forward.py] to verify GRASD and InputRASD

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Dec 9 20:42:28 UTC 2008


> +    curr_cim_rev, changeset = get_provider_version(virt, server)
> +    if curr_cim_rev >= input_graphics_pool_rev:
> +        input = get_typed_class(virt,'InputResourceAllocationSettingData')
> +        graphics = get_typed_class(virt,'GraphicsResourceAllocationSettingData')
> +        rlist.append(input)
> +        rlist.append(graphics)
> +        prop_list = {rlist[0] : "%s/%s"  % (test_dom, test_disk),
> +             rlist[1] : "%s/%s" % (test_dom, "mem"),
> +             rlist[2] : "%s/%s" % (test_dom, test_mac),
> +             rlist[3] : "%s/%s" % (test_dom, "proc"),
> +             rlist[4] : "%s" % input_device,
> +             rlist[5] : "%s/%s" % (test_dom, "graphics") 
> +            }

prop_list is already defined earlier in the test.  Just add the new 
elements for Input/Graphics.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list