# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1224468407 25200
# Node ID 98291a8279946f37be3e74f467e32c39e927bde7
# Parent a3d9c0a81c27471418993b7c8f907f0b95f79e63
[TEST] Update vsmigrations.py to call new EnumInstances
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r a3d9c0a81c27 -r 98291a827994 suites/libvirt-cim/lib/XenKvmLib/vsmigrations.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vsmigrations.py Wed Oct 15 19:13:10 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/vsmigrations.py Sun Oct 19 19:06:47 2008 -0700
@@ -108,10 +108,7 @@ def get_migration_job_instance(ip, virt,
key_list = ["instanceid"]
mig_job_cn = get_typed_class(virt, 'MigrationJob')
try:
- job = enumclass.enumerate(ip,
- mig_job_cn,
- key_list,
- virt=virt)
+ job = enumclass.EnumInstances(ip, mig_job_cn)
except Exception, details:
logger.error(CIM_ERROR_ENUMERATE, mig_job_cn)
logger.error(details)