[Libvirt-cim] [PATCH] [TEST] Fixing 05_RAPF_err.py tc of RAFP

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Sep 23 01:47:50 UTC 2008


> +
> +    # Since we cannot create a Xen/XenFV guest with invalid networkpool info,
> +    # we first create a guest with valid networkpool info and then 
> +    # then destroy the networkpool info as a work around to, verify if the 
> +    # provider returns an exception for Xen/XenFV guest when its networkpool 
> +    # does not exist anymore on the machine.
> +    status, vsxml = setup_env(server, virt, int_name, in_list)
> +    if status != PASS:
> +        logger.error("Failed to setup the domain")
> +        vsxml.undefine(server)

In the Xen/XenFV case, you'll need to cleanup the network pool.

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




More information about the Libvirt-cim mailing list