[Libvirt-cim] [PATCH] [TEST] Fix ResourceAllocationFromPool.01, use existing Networkpool instead of creating a new one

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Wed Aug 6 10:09:25 UTC 2008


Same comments as given for RAFP.02 .
See my reply for "Fix RAFP.02 failuer for KVM, using existing 
networkpool instead of creating a new one"

Regards,
Deepti.

yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1217990822 25200
> # Node ID 50d6db48dd8f95bf84644dbb2f120a89241151c7
> # Parent  3add446da91108d419ce8adae434ebc78039fa34
> [TEST] Fix ResourceAllocationFromPool.01, use existing Networkpool instead of creating a new one
>
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
>
> diff -r 3add446da911 -r 50d6db48dd8f suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py
> --- a/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py	Tue Aug 05 08:59:29 2008 -0700
> +++ b/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/01_forward.py	Tue Aug 05 19:47:02 2008 -0700
> @@ -121,7 +121,8 @@ def main():
>          vsxml.undefine(options.ip)
>          return status
>
> -    status, test_network = create_netpool_conf(options.ip, options.virt)
> +    status, test_network = create_netpool_conf(options.ip, options.virt,
> +                                               use_existing=True)
>      if status != PASS:
>          cleanup_restore(options.ip, options.virt)
>          vsxml.undefine(options.ip)
> @@ -152,7 +153,6 @@ def main():
>              break
>
>      cleanup_restore(options.ip, options.virt)
> -    destroy_netpool(options.ip, options.virt, test_network)
>      vsxml.undefine(options.ip)
>      return status 
>          
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>   




More information about the Libvirt-cim mailing list