# HG changeset patch
# User root(a)elm3b197.beaverton.ibm.com
# Date 1217987020 25200
# Node ID f50bfc180219f6cca02e73b55ec4472b07bc64ac
# Parent 3add446da91108d419ce8adae434ebc78039fa34
[TEST] Fix RAFP.02 failuer for KVM, using existing networkpool instead of creating a new
one
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3add446da911 -r f50bfc180219
suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py
--- a/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py Tue Aug 05
08:59:29 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ResourceAllocationFromPool/02_reverse.py Tue Aug 05
18:43:40 2008 -0700
@@ -171,7 +171,7 @@ def main():
if status != PASS:
return status
- status, test_network = create_netpool_conf(server, virt)
+ status, test_network = create_netpool_conf(server, virt, use_existing=True)
if status != PASS:
return status
@@ -184,7 +184,6 @@ def main():
return status
cleanup_restore(server, virt)
- destroy_netpool(server, virt, test_network)
vsxml.undefine(server)
return status